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