refactor the usage of DialogueHelper to rely on the static functions