code: function() {
        var req = self.apos.templates.contextReq;
        return self.partial('controls', { controls: self.getEditControls(req), options: self.options });
      }
docs: Emit controls section of pieces editor modal: the cancel/save buttons, etc.