       )
 
       this
-
-    _detectHeightForPositioning: ->
-      @$el.height()
 
     getOverlay: ->
       @_overlay ||= $("<div class='modal-overlay'></div>").css(zIndex: @zIndex - 1).appendTo(document.body)

    contentSelector: "> .modal-content"
    footerSelector:  "> .modal-footer"

    positionElement: ->
      @dimensions ||= { width: null, height: null }

      headerHeight = @$header.outerHeight()

      setHeight = (height) =>

      @_overlay?.remove()
      super

    # 
    # Private
    #
    
    _detectHeightForPositioning: ->
      @$el.height()

