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