Context menu with ModalDialog or InlineDialog only?

I’m looking at https://developer.atlassian.com/platform/forge/ui-kit-components/context-menu/
because I want to render a form that uses the highlighted text from the page content in Confluence. I’ve been experimenting with ModalDialog but the buttons didn’t close the dialog (not sure why). Then I noticed the documentation for the context menu states it doesn’t support the ModalDialog at all.

A container for displaying multiple components. Can only contain InlineDialog.

I liked that the Modal dialog offers a header, so I can display a title. The Inline dialog doesn’t have that option.
However, my inline dialog doesn’t close when hitting the ‘submit’ button either. :confused:

1 Like