docs: public static void openDialogForResource(
          String title,
          final CmsUUID structureId,
          Command onUnlock,
          Command optionalOnCloseCommand) {
  
          final CmsLockReportDialog dialog = new CmsLockReportDialog(
              title,
              structureId,
              onUnlock,
              optionalOnCloseCommand);
          CmsRpcAction<CmsLockReportInfo> action = new CmsRpcAction<CmsLockReportInfo>() {
  
              @Override
              public void execute() {
  
                  start(0, true);
                  CmsCoreProvider.getVfsService().getLockReportInfo(structureId, this);
              }
  
              @Override
              public void onFailure(Throwable t) {
  
                  stop(false);
                  dialog.hide();
                  super.onFailure(t);
              }
  
              @Override
              protected void onResponse(CmsLockReportInfo result) {
  
                  stop(false);
                  dialog.initContent(result);
              }
          };
          dialog.center();
          action.execute();
  
      }