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