       title          : 'Save & Test'
       cssClass       : 'solid compact green nav next'
       disabled       : yes
-      callback       : =>
-        @saveTemplate (err, stackTemplate) =>
-          return  if showError err
-          @emit 'Completed', stackTemplate
+      loader         : yes
+      callback       : @bound 'handleSave'
+
+    @setAsDefaultButton = new kd.ButtonView
+      title          : 'Set as Default for Team'
+      cssClass       : 'solid compact nav next hidden'
+      loader         : yes
+      callback       : @bound 'handleSetDefaultTemplate'
+
+    @setAsDefaultButton.setCss 'right', '110px'
+
 
     @credentialStatus.on 'StatusChanged', (status) =>
       if status is 'verified'


    @editorView      = new StackEditorView {delegate: this, content}

    @cancelButton    = new kd.ButtonView
      title          : 'Cancel'
      cssClass       : 'solid compact light-gray nav cancel'

      <div class='text header'>Create new Stack</div>
      {{> @inputTitle}}
      {{> @editorView}}
      {{> @outputView}}
      {{> @cancelButton}}
      {{> @setAsDefaultButton}}
      {{> @saveButton}}
    """