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