@Override
  public void leaveModal() {
    ThreadingAssertions.assertWriteIntentReadAccess();
    CommandLog.LOG.assertTrue(myCurrentCommand == null, "Command must not run: " + myCurrentCommand);

    myCurrentCommand = myInterruptedCommands.pop();
    if (myCurrentCommand != null) {
      fireCommandStarted();
    }
  }
@Override
  public void leaveModal()