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