PLEASE NOTE THAT THIS DIFF AND SUBSEQUENT DIFFS IN THIS STACK WILL NOT BE LANDED UNTIL MORE OF THE REDESIGN IS READY SINCE THIS WILL CAUSE REGRESSIONS IN PROD
As I was working with the relationship modals/panels I found that we were drilling this onClose prop method that pretty much was just popModal. We don't need to drill this down everywhere and instead we can just call popModal using useModalContext hook where we need it.
Depends on D10742