@Override
        public void actionPerformed(@NotNull AnActionEvent e) {
          cancel(popupRef.get());
          showDialogAndRestart(parameters, actionHandler);
        }
@Override
        public void actionPerformed(@NotNull AnActionEvent e)