         return
 
       reactor.dispatch actions.UPDATE_STACK_TEMPLATE_SUCCESS, { stackTemplate }
+      _bindTemplateEvents stackTemplate
       resolve stackTemplate
 
 generateStack = (stackTemplateId) ->

      successPayload = { stackTemplate: updatedTemplate }

      reactor.dispatch actions.UPDATE_STACK_TEMPLATE_SUCCESS, successPayload
      resolve successPayload

fetchAndUpdateStackTemplate = (templateId) ->


  remote.api.JStackTemplate.some query, { limit: 30 }, (err, templates) ->

    if err
      return reactor.dispatch actions.LOAD_TEAM_STACK_TEMPLATES_FAIL, { query, err }

    templates = templates.filter (t) -> t.accessLevel is 'group'

    reactor.dispatch actions.LOAD_TEAM_STACK_TEMPLATES_SUCCESS, { query, templates }

    templates.forEach (template) -> _bindTemplateEvents template


loadPrivateStackTemplates = ->
