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