code: public CmsPostUploadDialogBean getDialogData() throws CmsRpcException {
  
          if (m_dialogData == null) {
              m_dialogData = CmsPostUploadDialogService.prefetch(getRequest());
          }
          m_dialogData.setUsePropertyConfiguration(m_useConfiguration);
          m_dialogData.setAddBasicProperties(m_addBasicProperties);
          return m_dialogData;
      }
docs: Returns the needed server data for client-side usage.<p>
  
  @return the needed server data for client-side usage
  @throws CmsRpcException if something goes wrong