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