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