You add the selectFeature, unselectFeature event handlers to the modify control, not to the layer. (You can change the layer used by the control dynamically. Notice: This email and any attachments are confidential. If received in error please destroy and immediately notify us. Do not copy or disclose the contents.