@Override
  public void addActivity(final @NotNull UiActivity activity, final @NotNull ModalityState effectiveModalityState) {
    if (!isActive()) return;

    UIUtil.invokeLaterIfNeeded(() -> getBusyContainer(null).addActivity(activity, effectiveModalityState));
  }
@Override
  public void addActivity(final @NotNull UiActivity activity, final @NotNull ModalityState effectiveModalityState)