Since T261862, Special:Investigate uses an OO.ui.ButtonMenuSelectWidget with a custom menu with custom event handlers. Two new widgets were introduced in order to do this: InvestigateButtonMenuSelectWidget and InvestigateMenuSelectWidget
After T315240, we can remove InvestigateButtonMenuSelectWidget and pass the InvestigateMenuSelectWidget directly to an OO.ui.ButtonMenuSelectWidget instead.