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