void (final @NotNull UiActivity activity, final @NotNull ModalityState effectiveModalityState) { if (!isActive()) return; UIUtil.invokeLaterIfNeeded(() -> getBusyContainer(null).addActivity(activity, effectiveModalityState)); }