AI-512 : fixed event propagation for ModalDialog