fix: issue with fetching adapters by accountId
update: use dialogID by default. use initialAgentURL if dialogURL is
missting
Merge branch 'dialogHook' into NewInfraBranch