docs: public static void showPreviewForResource(CmsPreviewInfo previewInfo) {
  
          if (previewInfo.isNewWindowRequired()) {
              CmsDomUtil.openWindow(previewInfo.getPreviewUrl(), CmsDomUtil.Target.BLANK.getRepresentation(), "");
          } else {
  
              CmsPreviewDialog dialog = createPreviewDialog(previewInfo);
              dialog.center();
          }
      }