Dismiss loading on a modal, also dismiss the modal itself

from root page i create a Modal, this.nav.present(Modal), then on the class Modal, i call a Loading, (Modal) this.nav.present(Loading), when Loading.dismiss() it also dismiss the Modal so the view go back to root page.
it works well before on beta 7 now i’m on beta 10, any suggestion? thanks.