Capacitor pushnotifications

Whenever I include the components on Vue for pushnotifications doesn’t matter what function I call or where, even checkpermissions() within a method function that doesn’t even get fired my app is requesting permissions on iOS with the default popup.
What I want to do is present my own modal first and then request device permission, but something is causing the plug-in to present the iOS message box before even my modal.