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