@Override
      public void contentRemoved(@NotNull ContentManagerEvent event) {
        if (event.getContent().getComponent() == component) {
          restorePopupBehavior();
        }
      }
@Override
      public void contentRemoved(@NotNull ContentManagerEvent event)