fix for removing register button from all events, not just the one selected
write basic test for merging component