       title          : 'Set as Default for Team'
       cssClass       : 'solid compact nav next hidden setasdefault-button'
       loader         : yes
-      callback       : @bound 'handleSetDefaultTemplate'
+      callback       : => @handleSetDefaultTemplate()
 
 
   handleSave: ->

        computeController.checkStackRevisions()

        @emit 'Reload'
        @emit 'Completed', stackTemplate

                         template and try again"
        return

      { groupsController } = kd.singletons

      currentGroup = groupsController.getCurrentGroup()

      if not currentGroup.stackTemplates?.length
        @handleSetDefaultTemplate completed = no

      else
        @outputView.add "You can now close this window, or set this
                         template as default for your team members."

        @cancelButton.setTitle 'Close'
        @setAsDefaultButton.show()


  checkAndBootstrapCredentials: (callback) ->

    { credentialsData } = @stackTemplateView.credentialStatus
    [ credential ]      = credentialsData

    failed = (err) =>
      @outputView.handleError err
