Automatically configure dialogue endpoints
Handle cases where the states don't exist when getting dialogue config's states
Merge branch 'feature/issue-1045-automatically-configure-dialogue-endpoints' into develop