@Override
      protected void createDefaultActions() {
        super.createDefaultActions();
        myCloseAction = new AbstractAction(IdeBundle.message("registry.close.action.text")) {
          @Override
          public void actionPerformed(@NotNull ActionEvent e) {
            processClose();
            doOKAction();
          }
        };
        myCloseAction.putValue(DialogWrapper.DEFAULT_ACTION, true);
      }
@Override
      protected void createDefaultActions()