code: public void cancel() {
  
          CmsObject cms = A_CmsUI.getCmsObject();
          String link = OpenCms.getLinkManager().substituteLinkForUnknownTarget(
              cms,
              CmsWorkplaceLoginHandler.LOGIN_HANDLER,
              false);
          A_CmsUI.get().getPage().setLocation(link);
      }
docs: Cancels the dialog.<p>