- Example showing the use of the 'dialogue' event in the constructor.