code: public static void editModule(CmsModule module, boolean isNew, String caption, Runnable callback) {
  
          Window window = CmsBasicDialog.prepareWindow(DialogWidth.wide);
          CmsEditModuleForm form = new CmsEditModuleForm(module, isNew, callback);
          window.setContent(form);
          window.setCaption(caption);
          A_CmsUI.get().addWindow(window);
          window.center();
      }
docs: Opens the module editor for the given module.<p>
  
  @param module the edited module
  @param isNew true if this is a new module
  @param caption the caption for the module editor dialog
  @param callback the callback to call after the edit dialog is done