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