code: public void leaveEditor(String target) {
  
          CmsUUID baseId = getData().getRoot().getId();
          CmsRpcAction<String> action = new CmsRpcAction<String>() {
  
              @Override
              public void execute() {
  
                  start(0, false);
                  getService().getResourceLink(baseId, target, this);
              }
  
              @Override
              protected void onResponse(String link) {
  
                  Window.Location.assign(link);
              }
  
          };
          action.execute();
      }
docs: Ask to save the page before leaving, if necessary.<p>
  
  @param target the leaving target