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