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