 
 
   syncChange: (change) ->
+
     {context} = change
 
     return  if not @rtm or not @rtm.isReady or not context

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



  listenChangeEvents: ->
    @rtm.bindRealtimeListeners @changes, 'list'
    @rtm.bindRealtimeListeners @broadcastMessages, 'list'

    @rtm.on 'ValuesAddedToList', (list, event) =>

      [value] = event.values

      switch list

        when @changes
          @handleChange value

        when @broadcastMessages
          @handleBroadcastMessage value

    @rtm.on 'ValuesRemovedFromList', (list, event) =>

      @handleChange event.values[0]  if list is @changes


  handleChange: (change) ->
