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