This reverts the unwanted change (introduced in #883) which would make modal dialogs use iTwinUI v2 styling. Apparently, iTwinUI Modal has different behaviour from Dialog which causes problems with our theme manager because we support v2 theme providers. So for now I reverted to using Dialog instead of Modal. We can try using Modal in AppUI 5.0 when we stop supporting iTwinUI v2.
Changes
This reverts the unwanted change (introduced in #883) which would make modal dialogs use iTwinUI v2 styling. Apparently, iTwinUI
Modal
has different behaviour fromDialog
which causes problems with our theme manager because we support v2 theme providers. So for now I reverted to usingDialog
instead ofModal
. We can try usingModal
in AppUI 5.0 when we stop supporting iTwinUI v2.Testing
Tested in standalone test-app.