Thanks for reporting this. I've fixed it for the next release.
Choosing Delete from the context menu or pressing Delete/Backspace will now remove all selected controls in the code sidebar. The controls and their event handlers can be restored together with a single Undo.