boolean anyModalWindowsKeepPopupOpen() {
    var modalEntitiesNow = LaterInvocator.getCurrentModalEntities();
    var i = 0;
    for (; i < modalEntitiesNow.length && i < modalEntitiesWhenShown.length; ++i) {
      if (modalEntitiesNow[i] != modalEntitiesWhenShown[i]) {
        break;
      }
    }
    for (; i < modalEntitiesNow.length; ++i) {
      if (modalEntitiesNow[i] instanceof Window modalWindow && ClientProperty.isTrue(modalWindow, DialogWrapper.KEEP_POPUPS_OPEN)) {
        return true;
      }
    }
    return false;
  }
boolean anyModalWindowsKeepPopupOpen()