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