Equivalent to bringToFront()?

Does the Vaadin Flow Dialog component have an equivalent to the Framework Window component method bringToFront()?

When you have non-modal dialogs, sometimes the application needs to force one to the foreground.

Hello.

As of today, there’s no API available for this feature. However, dialog uses this functionality internally for, eg., when a user clicks on another modeless dialog below the top most one. I created [one issue]
(https://github.com/vaadin/vaadin-dialog/issues/224) to make it available as a public API.

In the meanwhile, you can try using this workaround:

dialog.getElement().executeJs("$0._bringOverlayToFront()")