When installing the dialog snap from the test-snaps page and pressing the alert button, the expected alert does not appear and the app crashes. Build used - https://app.bitrise.io/app/be69d4368ee7e86d/installable-artifacts/19638d28f6346dd1 Device used - Samsung Galaxy Z fold **### Steps to Reproduce** 1. Upload the latest build generated from the feature branch using the Flask build. 2. Log in to the Flask app with the correct credentials. 3. Open a web browser and navigate to https://metamask.github.io/snaps/test-snaps/latest/. 4. Install the dialog snap, press the alert button, and observe the results. **### Excepted Result** Alert should appear **### Actual Result** Alert does not appear and the app is crash as per the video attached. **### Attachements** https://github.com/user-attachments/assets/61c31557-fc15-4579-a9ee-f194603c9bef
When installing the dialog snap from the test-snaps page and pressing the alert button, the expected alert does not appear and the app crashes.
Build used - https://app.bitrise.io/app/be69d4368ee7e86d/installable-artifacts/19638d28f6346dd1
Device used - Samsung Galaxy Z fold
### Steps to Reproduce
### Excepted Result
Alert should appear
### Actual Result
Alert does not appear and the app is crash as per the video attached.
### Attachements
Screen.Recording.2025-02-20.at.1.14.54.PM.mov