add class name to dialogs in the map
to allow unit tests and some automation
issue