Prevent dialog event propagation