initial logic to load dialogs data