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