code: function() {
              var that = this;
              return dialogs.fields(i18n.t("reports.edit.title"), {
                  "title": {
                      label: i18n.t("reports.edit.fields.title"),
                      type: "text"
                  }
              }, this.report.toJSON())
              .then(function(data) {
                  return that.report.edit(data);
              });
          }
docs: Edit current report