Index: openlayers_behavior_drawfeatures.js
===================================================================
--- openlayers_behavior_drawfeatures.js	(revision 2)
+++ openlayers_behavior_drawfeatures.js	(working copy)
@@ -94,7 +94,20 @@
     control.controls = c;
     control.redraw();
 
-    var mcontrol = new OpenLayers.Control.ModifyFeature(data_layer);
-    data.openlayers.addControl(mcontrol);
+	var mcontrol = new OpenLayers.Control.ModifyFeature(data_layer, {
+	'displayClass': 'olControlModifyFeature',
+	'deleteCodes': new Array(46, 68, 100),
+	handleKeypress: function(evt){                              
+	    if (this.feature && $.inArray(evt.keyCode, this.deleteCodes) > -1) {
+	        var feature_to_delete = this.feature;
+			//We must unselect the feature before we delete it 
+	        this.selectControl.unselectAll();
+	        this.layer.removeFeatures(new Array(feature_to_delete));
+	    }
+	}
+	
+	});
+	
+	control.addControls(mcontrol);
   }
 };
