       @$().css opacity : 1
 
   _windowDidResize:->
-    return unless @getOptions().sticky
     @setPositions()
     {winHeight} = @getSingleton('windowController')
     @$('.kdmodal-content').css 'max-height', winHeight - 200

    options.fx           or= no            # a Boolean
    options.view         or= null          # a KDView instance
    options.draggable    or= handle : ".kdmodal-title"
    options.sticky       or= no
    # TO BE IMPLEMENTED
    options.resizable    or= no            # a Boolean


    $(window).one "keydown.modal",(e)=>
      @cancel() if e.which is 27

    @on "childAppended", @setPositions.bind @

    @listenWindowResize()

  setDomElement:(cssClass)->

