private static @Nullable JFrame getIdeFrame(@Nullable Project project) {
      return WindowManager.getInstance().getFrame(project);
    }
private static @Nullable JFrame getIdeFrame(@Nullable Project project)