code: function(feature) {
          this.layer.removeFeatures(this.vertices, {silent: true});
          this.vertices = [];
          this.layer.destroyFeatures(this.virtualVertices, {silent: true});
          this.virtualVertices = [];
          if(this.dragHandle) {
              this.layer.destroyFeatures([this.dragHandle], {silent: true});
              delete this.dragHandle;
          }
          if(this.radiusHandle) {
              this.layer.destroyFeatures([this.radiusHandle], {silent: true});
              delete this.radiusHandle;
          }
          this.layer.drawFeature(this.feature, 'default');
          this.feature = null;
          OpenLayers.Util.removeItem(this.layer.selectedFeatures, feature);
          this.onModificationEnd(feature);
          this.layer.events.triggerEvent("afterfeaturemodified", {
              feature: feature,
              modified: this.modified
          });
          this.modified = false;
      }
docs: APIMethod: unselectFeature
  Called when the select feature control unselects a feature.
  
  Parameters:
  feature - {<OpenLayers.Feature.Vector>} The unselected feature.