@Override
        public void onClosed(@NotNull LightweightWindowEvent event) {
          myPathTextField.unregisterKeyboardAction(KeyStroke.getKeyStroke(KeyEvent.VK_ESCAPE, 0));
          for (Action each : myDisabledTextActions) {
            each.setEnabled(true);
          }
        }
@Override
        public void onClosed(@NotNull LightweightWindowEvent event)