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