A Multi-Agent Planner for Modelling Dialogue