code: public static CmsPostUploadDialogBean prefetch(HttpServletRequest request) throws CmsRpcException {
  
          CmsPostUploadDialogService srv = new CmsPostUploadDialogService();
          srv.setCms(CmsFlexController.getCmsObject(request));
          srv.setRequest(request);
          CmsPostUploadDialogBean result = null;
          try {
              result = srv.prefetch();
          } finally {
              srv.clearThreadStorage();
          }
          return result;
      }
docs: Fetches the dialog data.<p>
  
  @param request the servlet request
  
  @return the dialog data
  @throws CmsRpcException if something goes wrong