Updated the interaction with dialogue