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