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