 
   getSaveDetails: ->
     return {
-      title: $(@$saveSession).find('[name="peteshow-title"]').val()
-      notes: $(@$saveSession).find('[name="peteshow-notes"]').val()
+      title: $(@$saveDialog).find('[name="peteshow-title"]').val()
+      notes: $(@$saveDialog).find('[name="peteshow-notes"]').val()
     }
 
   setSession: (id) ->

      .change()

  hideSaveSession: =>
    $(@$saveSession).hide()

  toggleSaveSession: =>
    $(@$saveSession).toggle()

  show: =>
    $(@$peteshow).show()

_           = require('lodash')
store       = require('./storage')
Draggabilly = require('draggabilly')

indexTemplate    = require('../templates/index.hbs')
sessionsTemplate = require('../templates/sessions.hbs')

class PeteshowView
  controller   : Peteshow.controller
