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