<!-- Before submitting an issue, please consult our docs (https://ionicframework.com/docs/). --> **Current behavior:** <!-- Describe how the bug manifests. --> Opening a card modal in a Cordova/Capacitor app still shows the ion-header with safe area padding **Expected behavior:** <!-- Describe what the behavior would be without the bug. --> Card modals should not have safe area padding applied since they are not near the edge of the screen.