     @init()
     @_element.attr 'id', 'dialog'
     @_element.hide()
-    @_element.makeFixed Math.round($(window).width() / 2), 0
     @_element.mousedown (e) -> e.stopPropagation()
     @_element.appendTo document.body
     @load()

  @method 'showBlanker', ->
    # Add blanker div if it doesn't already exist
    if $('#blanker').length < 1
      $('body').append $('<div id="blanker"></div>').css('opacity', 0).click (e) -> e.stopPropagation()
      
      # Fade blanker in
      if $.browser.webkit
        $('#blanker').css('height', $(document).height())
            .css('width', $(document).width())
            .css('-webkit-transition', 'opacity 100ms linear')
            .css('opacity', 0.6)
      else
        $('#blanker').show().css('opacity', 0).animate {opacity: 0.6}, 100, 'linear'
    else
      # Prevent currently visible blanker from hiding
      $('#blanker').stop().css('opacity', 0.6)

    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
    if $.browser.webkit
      @_element.css('top', 0 - @_element.height())
          .show()
          .css('-webkit-transition', 'top 200ms ease-in')
          .css('top', 0)
          .bind 'webkitTransitionEnd', ->
            $(this).css('-webkit-transition', '')
                .unbind('webkitTransitionEnd')
