Revert buggy pr (#28554)

Earlier, I merged #24723

Before merging it, I made a change that was incorrect and fast followed
with a fix: #28548

Following that fix, @bennetbo discovered that the modals where no longer
highlighting correctly, particularly the outline modal.

So I'm going to revert it all.

Release Notes:

- N/A
c143846e42Mikayla Maki committed on 4/11/2025, 12:58:36 AM· committed by GitHubparent71c2a11
5 files changedLine totals unavailable