     @$('.kdmodal-content').css 'max-height', winHeight - 200
     @setY (winHeight - @getHeight())/2
 
-  putOverlay:()->
+  putOverlay:->
     @$overlay = $ "<div/>"
       class : "kdoverlay"
     @$overlay.hide()

    options.draggable    or= handle : ".kdmodal-title"
    # TO BE IMPLEMENTED
    options.resizable    or= no            # a Boolean

    super options, data



  setDomElement:(cssClass)->

    {helpContent, helpTitle} = @getOptions()

    if helpContent
      helpButton = "<span class='showHelp'>#{helpTitle}</span>"
    else
      helpButton = ''

    @domElement = $ "
    <div class='kdmodal #{cssClass}'>
      <div class='kdmodal-shadow'>
        <div class='kdmodal-inner'>
          #{helpButton}
          <span class='close-icon closeModal'></span>
          <div class='kdmodal-title hidden'></div>
          <div class='kdmodal-content'></div>
