assistant2: Fix inline context picker and handle dismiss (#23081)

The new `ContextMenu`-based `ContextPicker` requires initialization when
opened, but we were only doing this for the `ContextStrip` picker, not
the inline one.

Additionally, because we have a wrapper element around ContextMenu, we
need to propagate the `DismissEvent` so that it properly closes when
Escape is pressed.

Release Notes:

- N/A
4054d4a5b7Agus Zubiaga committed on 1/13/2025, 9:00:20 PM· committed by GitHubparent7c2c409
8 files changedLine totals unavailable