   constructor:->
     super
     $(window).off "keydown.modal"
-    
+
   putOverlay:()->
     @$overlay = $ "<div/>",
       class : "kdoverlay"

          <div class='kdmodal-content'></div>
        </div>
      </div>
    </div>"

  click:(e)->
    @$overlay.fadeIn 200

  setDomElement:(cssClass)->
    @domElement = $ """
    <div class='kdmodal #{cssClass}'>
      <div class='kdmodal-shadow'>
        <div class='kdmodal-inner'>
