editor: Hide mouse context menu when modal is opened (#29127)

Closes #28787 

The context menu appears before the modal because it is a Deferred
element, which is always displayed above normal elements.

Release Notes:

Previously, the editor context menu appeared before the Command Palette.
This commit ensures the editor context menu is hidden when a modal,
including the Command Palette, is opened.
6d2bdc3bacredforks committed on 4/21/2025, 2:43:26 PM· committed by GitHubparent9a3434e
4 files changedLine totals unavailable