App.modals.CloseListController = App.modals.BaseController.extend
  title_path: 'list.close.modal.title'
  actions:
    confirm: ->
      @get('model').invoke 'close'
      #model = @get('model')
      #if model.then then model.then((l) -> l.close()) else model.close()
      @send 'closeModal'
