Story 54279: Bacport dialogs new-style tests

Checked out tests/ at 0527b77 (initial port) and backported to 3.6.1
Merge pull request #1 from stacic/backportTests

Task 54279: Bacport dialogs new-style tests