 EnvironmentFlux = require 'app/flux/environment'
 ContentModal = require 'app/components/contentModal'
 createShareModal = require './createShareModal'
-
+isDefaultTeamStack = require 'app/util/isdefaultteamstack'
 { actions : HomeActions } = require 'home/flux'
 
 module.exports = class StackEditorView extends kd.View

      loader         : yes
      callback       : =>
        appManager.tell 'Stacks', 'exitFullscreen'  unless @getOption 'skipFullscreen'
        @handleGenerateStack()



  createMainButtons: ->

    { appManager } = kd.singletons
    { stackTemplate } = @getData()

    @header.addSubView @buttons = new kd.CustomHTMLView { cssClass: 'buttons' }

