 
     reactor.dispatch actions.LOAD_PRIVATE_STACK_TEMPLATES_SUCCESS, { query, templates }
 
-    templates.forEach (template) ->
-      template.on 'deleteInstance', ->
-        reactor.dispatch actions.REMOVE_STACK_TEMPLATE_SUCCESS, { template }
+    templates.forEach (template) -> _bindTemplateEvents template
 
 
 setMachineAlwaysOn = (machineId, state) ->

    computeController.checkGroupStacks()


handleMemberWarning = (message) ->

  console.warn '[member:warning]', message

      successPayload = { stackTemplate: updatedTemplate }

      reactor.dispatch actions.UPDATE_STACK_TEMPLATE_SUCCESS, successPayload
      _bindTemplateEvents updatedTemplate
      resolve successPayload


fetchAndUpdateStackTemplate = (templateId) ->

