private void unblockInAwt() {
    ApplicationManager.getApplication().invokeAndWait(() -> {
      StoreReloadManager.Companion.getInstance(myProject).unblockReloadingProjectOnExternalChanges();

      SaveAndSyncHandler saveAndSyncHandler = SaveAndSyncHandler.getInstance();
      saveAndSyncHandler.unblockSaveOnFrameDeactivation();
      saveAndSyncHandler.unblockSyncOnFrameActivation();
    });
  }
private void unblockInAwt()