GPII-752: Add message dialog visibility tests.