     options.draggable    or= handle : ".kdmodal-title"
     # TO BE IMPLEMENTED
     options.resizable    or= no            # a Boolean
+
+    options.helpContent  or= null
+    options.helpTitle    or= "Need help?"
 
     super options, data
 


  setDomElement:(cssClass)->

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


  click:(e)->
    @destroy() if $(e.target).is(".closeModal")
    if $(e.target).is(".showHelp")
      {helpContent} = @getOptions()
      if helpContent
        helpContent = KD.utils.applyMarkdown helpContent
        new KDModalView
          # title   : "Help"
          cssClass : "help-dialog"
          overlay  : yes
          content  : "<div class='modalformline'><p>#{helpContent}</p></div>"

    # @getSingleton("windowController").setKeyView @ ---------> disabled because KDEnterinputView was not working in KDmodal

  keyUp:(e)->
