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