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