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