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