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