docs: function(event) {
          var feature = event.feature;
          if(feature.state === OpenLayers.State.INSERT ||
             feature.state === OpenLayers.State.UPDATE ||
             feature.state === OpenLayers.State.DELETE) {
              this.save([event.feature]);
          }
      }