docs: public CommonDialogWindow createWindow() {
          window = new WindowBuilder(SPUIDefinitions.CREATE_UPDATE_WINDOW).caption(getWindowCaption()).content(this)
                  .cancelButtonClickListener(event -> discard()).layout(mainLayout).i18n(i18n)
                  .saveDialogCloseListener(new SaveOnDialogCloseListener()).buildCommonDialogWindow();
          return window;
      }