Modified dialogue engine.