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