Fixed bug in ModalAlert