@RequiresBlockingContext
  public static @NotNull ModalityState defaultModalityState() {
    return ApplicationManager.getApplication().getDefaultModalityState();
  }
@RequiresBlockingContext
  public static @NotNull ModalityState defaultModalityState()