feat(Menu): add immediate close functionality for menus
feat(MenuItem): implement close behavior for owning menus on click
feat(DialogInputCaptureTracker): add input capture tracking for dialog interactions
test(MessageBoxReentrancyTests): add tests for message box behavior during button clicks and menu interactions