 
     super options, data
 
-    @_stackTemplatesLength = 0
-
     @button = new kd.ButtonView
       title    : 'Create new Stack'
       cssClass : 'solid compact green action hidden'


    @stackTemplateList.listController.on 'ItemsLoaded', (stackTemplates) =>
      @emit 'NoTemplatesFound'  if stackTemplates.length is 0
      @_stackTemplatesLength = stackTemplates.length
      @button?.show()
      @emit 'ready'


        @emit 'EditStack', stackTemplate

      .on 'ItemDeleted', =>
        kd.singletons.appManager.tell 'Stacks', 'reloadStackTemplatesList'

      .on 'ItemCloned', @bound 'reload'
