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