       @_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)

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

    initialize: ->
      # @param content [String, Backbone.View] optional content to append to modal-content
      @content ||= null
      
      # @todo
      @dimensions ||= { width: null, height: null }

    positionElement: ->
      headerHeight = @$header.outerHeight()

      setHeight = (height) =>
