grouping the dialogs in a single map