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