 
   getDefaultProps: ->
     target: apiClient
+    confirmation: 'Some data hasn’t finished syncing, please wait just a second!'
     style:
       background: 'rgba(0, 0, 0, 0.5)'
       borderRadius: '0 0 0.3em 0.3em'


  componentWillUnmount: ->
    @props.target.stopListening 'change', @handleTargetChange

  handleTargetChange: ->
    setTimeout => # TODO: I have no idea why this is necessary.


  componentDidMount: ->
    @props.target.listen 'change', @handleTargetChange
    addEventListener 'beforeunload', @handlePageExit

  componentWillReceiveProps: (nextProps) ->
    @props.target.stopListening 'change', @handleTargetChange
