Modal not working properly in Ionic 4

I’m unable to prevent the modal I added from appearing when the app loads. When ever I load the app the modal will appear for a second then go away. And if I hit the back button it goes back to the modal.

I wrote a Stack Overflow question to no avail.

I’m doing this exactly like the tutorials.