       _.pathAssign(newSubmit, Formbuilder.options.mappings.DESCRIPTION, 'Submit')
       @collection.push(newSubmit)
     @initAutosave()
+    @initUndoStack()
 
   initAutosave: ->
     @formSaved = true

    if Formbuilder.options.WARN_IF_UNSAVED
      $(window).bind 'beforeunload', =>
        if @formSaved then undefined else Formbuilder.options.dict.UNSAVED_CHANGES

  reset: ->
    @$responseFields.html('')

  SUBVIEWS: []

  events:
    'click .js-undo-delete': 'undoDelete'
    'click .js-save-form': 'saveForm'
    'click .fb-tabs a': 'showTab'
    'click .fb-add-field-types a': 'addField'
