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