@Override
    public void stateChanged(@NotNull ToolWindowManager toolWindowManager) {
      if (!isInsideActiveToolWindow(toolWindowManager)) {
        manageSearchPopup(null);
      }
    }
@Override
    public void stateChanged(@NotNull ToolWindowManager toolWindowManager)