   showModal: (e) =>
     return if e.button != 0
     e.preventDefault()
-    @setState showingModal: true
+    @setState () -> showingModal: true
 
 
   sendReport: (e) =>
+    @setState () -> loading: true
+
     data =
       reason: @reason.current.value
       comments: @textarea.current.value

  hideModal: (e) =>
    return if e.button != 0 || e.target != @ref.current
    e.preventDefault()
    @setState showingModal: false


  render: =>

      data: data

    .done () =>
      @setState () -> showingModal: false

    .fail osu.ajaxError
    .always () =>
      @setState () -> loading: false
