For anyone still wondering, i just found a better solution that doesnt require pop() and you use it in your modal closeModal() { this.modalController.dismiss(); }
and of course you need to import the modal controller on your modal component
import { ModalController, NavParams} from '@ionic/angular';