Fix calling hideModal in info_dialog to use onClose event