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