void (@NotNull ModalityStateListener listener, @NotNull Disposable parentDisposable) { if (!ourModalityStateMulticaster.getListeners().contains(listener)) { ourModalityStateMulticaster.addListener(listener, parentDisposable); } }