         log 'file deleted'
         @statusBar.emit 'CollaborationEnded'
         @chat.emit 'CollaborationEnded'
-        @confirmationModal.destroy()
+        @modal.destroy()
 
       @rtm.deleteFile @getRealTimeFileName()
 

        callback : => @confirmationModal.destroy()

    @confirmationModal = new KDModalView modalOptions
    @confirmationModal.once 'KDObjectWillBeDestroyed', =>
      delete @confirmationModal


  handleBroadcastMessage: (data) ->

      else kite.klientUnshare {username}, callback


  showModal: (modalOptions = {}, callback = noop) ->
    return  if @modal

    modalOptions.overlay = yes
    modalOptions.buttons =
