It depends on what kind of dialogue you want, but you could prefill a windowdialog or a popupmenu to listen in on the signal you want to trigger the event. Say, a click on the character, entering a certain area, whatever. When the signal is emitted, call a function to set the menu to visible.