@Override
      public void actionPerformed(@NotNull AnActionEvent e) {
        if (component.isShowing()) {
          callback.run();
        }
      }
@Override
      public void actionPerformed(@NotNull AnActionEvent e)