Add dialogue handler

Added `DialogueHandler` interface for external clients to work with the survey handling logic