docs: public void deleteDescriptorIfNecessary() throws CmsException {
  
          if (m_removeDescriptorOnCancel && (m_desc != null)) {
              m_cms.deleteResource(m_desc, CmsResourceDeleteMode.valueOf(2));
          }
  
      }