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