         @setClass "active"
 
   cancel:->
-    @emit 'ModalCancelled'
-    @destroy()
+    unless @getOptions().disableCancel
+      @emit 'ModalCancelled'
+      @destroy()
 
   destroy:->
     $(window).off "keydown.modal"

    button.destroy()  for own _key, button of @buttons

  click:(e)->
    @destroy() if $(e.target).is(".closeModal")
    if $(e.target).is(".showHelp")
      {helpContent} = @getOptions()
      if helpContent


    options.helpContent  or= null
    options.helpTitle    or= "Need help?"
    options.disableCancel ?= no

    super options, data

