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