Document init and close events of ModalView