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