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