       true
   
   @method 'showBlanker', ->
+    ST.DialogView._blankerCount++
+    
     # Add blanker div if it doesn't already exist
     if $('#blanker').length < 1
       blanker = $('<div id="blanker"></div>')

      $('#blanker').stop().css('opacity', 0.6)
  
  @method 'hideBlanker', ->
    # Get blanker div
    blanker = $ '#blanker'
    if blanker.length > 0
      # Fade blanker out
      if $.browser.webkit
        blanker.css('-webkit-transition', 'opacity 100ms linear')
          .css('opacity', 0.0)
          .bind 'webkitTransitionEnd', ->
            $(this).unbind('webkitTransitionEnd')
            blanker.remove()
      else
        blanker.animate {opacity : 0}, 300, 'linear', -> blanker.remove()
  
  @method 'showDialog', ->
    self = this

#= require ST/View

ST.class 'DialogView', 'View', ->
  @_blankerCount = 0
  
  @initializer (args={}) ->
    @super()
    @_element.attr 'id', 'dialog'
