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