@Override
    public void actionPerformed(@NotNull AnActionEvent e) {
      Component focusedComponent = IdeFocusManager.findInstance().getFocusOwner();
      KeyEvent event =
        new KeyEvent(focusedComponent, KeyEvent.KEY_PRESSED, System.currentTimeMillis(), 0, KeyEvent.VK_ESCAPE, KeyEvent.CHAR_UNDEFINED);
      myContent.dispatchEvent(event);
    }
@Override
    public void actionPerformed(@NotNull AnActionEvent e)