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