code: void submit() {
  
          List<CmsUUID> selectedIds = getSelectedIds();
          List<CmsUUID> updated = Lists.newArrayList();
          CmsObject cms = m_dialogContext.getCms();
          try {
              for (CmsUUID selectedId : selectedIds) {
                  cms.restoreDeletedResource(selectedId);
                  updated.add(selectedId);
              }
              m_dialogContext.finish(updated);
          } catch (CmsException e) {
              m_dialogContext.error(e);
          }
      }
docs: Submits the dialog.<p>