 window.TukTuk.Modal = do (tk = TukTuk) ->
 
-  lock = undefined
+  lock  = undefined
   modal = undefined
 
   ###

    tk.dom("[data-tuktuk-modal]").on "click", ->
      TukTuk.Modal.show(tk.dom(this).attr('data-tuktuk-modal'))

    tk.dom(document.body).append """
      <div data-tuktuk="lock" data-loading="false">
        <div class="loading"></div>
      </div>
      """
    tk.dom("[data-tuktuk=lock]").on "click", (event) ->
      loading = lock.attr("data-loading")
      TukTuk.Modal.hide() unless event.target is modal or loading is "true"

    , 250
    @

  alert = (message = "") ->
    lock.addClass("active").show()
    @_hideAnyModal()
    modal = tk.dom("[data-tuktuk=modal][data-modal=alert")
    text  = modal.find "#text"
    text.html message
    modal.addClass "active"
    @

  ###
      @loading: Describe method
  ###
