code: void close() {
  
          try {
              clearLock();
              m_context.finish(Collections.singletonList(m_resource.getStructureId()));
          } catch (CmsException e) {
              m_context.error(e);
          }
      }
docs: Closes the dialog.<p>