http://jsonfiddle.net/hlxtv Can't save and empty document.