 
 
   show: (target, html) =>
+    if @delayShow
+      @delayShowCallback = => @show(target, html)
+      return
+
     @clickAfterVerification = target
 
     if html?

      @float(referenceBottom < 0, @modal, referenceBottom)


  setMessage: (text, withSpinner = false) =>
    if !text? || text.length == 0
      Fade.out @message[0]

  # for pages which require authentication
  # and being visited directly from outside
  showOnLoad: =>
    @delayShow = false

    if @delayShowCallback?
      @delayShowCallback()
      @delayShowCallback = null
    else if @isVerificationPage()
      @show()
