is_dialogue_finished now actually returns True if the dialogue is
finished and False if it is not.
The DialogueController now checks if the dialogue is finished and
deactivates itself when that evaluates to True.