Reset TinyMCE's undo manager when editing a new document