     @showModal options
 
 
-  showSessionEndedModal: (content) ->
+  showSessionEndedModal: (options) ->
+
+    { content, redirect } = options
 
     content ?= "This collaboration session has been terminated by the host @#{@collaborationHost}."
 

          title    : 'LEAVE'
          callback : =>
            @modal.destroy()

    @showModal options
    @handleCollaborationEndedForParticipant()

      kd.utils.killRepeat @pollInterval
      if @amIHost 
      then @stopCollaborationSession()
      else @showSessionEndedModal { redirect : yes }


  handleBroadcastMessage: (data) ->
