Event, no, dialog name, sure why not?

The reason I say no to event is because it makes no sense. When writing a script you would clearly be intending to capture a particular event and the event names are static.

Dialog name would make sense though.