@Override
  public boolean isPopupWasShown() {
    ThreadingAssertions.assertEventDispatchThread();
    return myDialog != null && myDialog.getPopup() != null && myDialog.getPopup().isShowing();
  }
@Override
  public boolean isPopupWasShown()