docs: protected void submit(Window window, CmsResourceTypeApp app) {
  
          if (isValid()) {
              createResourceType();
              try {
                  OpenCms.getModuleManager().updateModule(m_cms, m_module);
                  OpenCms.getResourceManager().initialize(m_cms);
                  OpenCms.getWorkplaceManager().addExplorerTypeSettings(m_module);
                  // re-initialize the workplace
                  OpenCms.getWorkplaceManager().initialize(m_cms);
              } catch (CmsException e) {
                  LOG.error("Unable to save resource type", e);
              }
              window.close();
              app.reload();
          }
      }