void () { if (!isOtherModalWindowActive()) { try (AccessToken ignored = ClientId.withClientId(ClientId.getLocalId())) { // always show IDE errors to the host doOpenErrorsDialog(message); } finally { isOpeningInProgress = false; } } else if (dialog == null) { EdtExecutorService.getScheduledExecutorInstance().schedule(this, 300L, TimeUnit.MILLISECONDS); } }