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