       @_overlay?.remove()
       super
 
+    # 
+    # Private
+    #
+    
+    _detectHeightForPositioning: ->
+      @$el.height()
+

      )

      this

    _detectHeightForPositioning: ->
      @$el.height()

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


    className: "modal"

    # @todo all of these
    width: null
    height: "auto"
    appendTo: document.body
