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