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