 
   focusWindow: (e) =>
     toolChannel = e.currentTarget.dataset['channel']
-    tool = @model.tools.find (tool) -> tool.get('channel') is toolChannel
-    @model.tools.focus tool
+    tool = @model.get('tools').find (tool) -> 
+      tool.get('channel') is toolChannel
+    @model.get('tools').focus tool
 
   addToolModel: (type) =>
     @model.createTool type

  addTool: (tool) =>
    toolWindow = new ToolWindow
      model: tool
      collection: @model.tools
    @$el.append toolWindow.render().el
    toolWindow.postDashboardAppend()



  onDashboardInit: (@model) =>
    @render()
    @model.on ('add:tool

  stopSnap: =>
    @snap.remove() if @snap
