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