       @$('form').toJSON()
 
     remove: ->
+      @_cleanUpTiny() if @tinymceExists()
       @$el.hideErrors()
       @model.destroy() if @state is 'add' and @model.isNew()
       super arguments...

    # Called from subclasses in render.
    readyForm: ->
      setTimeout =>
        @$('textarea').editorBox() # tinymce
        @setupTinyMCEViewSwitcher()
        @addTinyMCEKeyboardShortcuts()
        @$('input:first').focus()


    updateTitle: (e) =>
      @model.set 'title', e.currentTarget.value

    tinymceExists: =>
      return @$el.find('[name="description"]').length > 0 and @$el.find('[name="description"]').editorBox('exists?')
