docs: public void save() {
          SC.ask("Do you want to save changes", new BooleanCallback() {
              @Override
              public void execute(Boolean yesSelected) {
                  if (yesSelected) {
                      jcrService().save(repository(), workspace(), new BaseCallback<Object>() {
                              @Override
                              public void onSuccess(Object result) {
                                  session().setHasChanges(false);
                                  updateControls();
                              }
                      });
                  }
              }
          });
      }