modify dialog event names