         callback : => @confirmationModal.destroy()
 
     @confirmationModal = new KDModalView modalOptions
-    @confirmationModal.once 'KDObjectWillBeDestroyed', =>
-      delete @confirmationModal
+    @modal.once 'KDObjectWillBeDestroyed', =>
+      delete @modal
 
 
   handleBroadcastMessage: (data) ->

      title      : 'Are you sure?'
      content    : 'This will end your session and all participants will be removed from this session.'

    @showConfirmationModal modalOptions, =>

      @chat.settingsPane.endSession.disable()


      else kite.klientUnshare {username}, callback


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

    modalOptions.overlay = yes
    modalOptions.buttons =
