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