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