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