docs: public static CmsPreviewDialog createPreviewDialog(CmsPreviewInfo previewInfo) {
  
          String caption = generateCaption(previewInfo);
          CmsPreviewDialog dialog = new CmsPreviewDialog(caption, DIALOG_WIDTH + 12);
          dialog.initContent(previewInfo);
          dialog.initLocales(previewInfo);
          return dialog;
      }