Modal: add more unit tests
#54569
Merged
Modal: add more unit tests
#54569
Modal: add more unit tests
#54569