added dialog event package handling