Do you prefer the old style macOS alerts? There is a way to get them globally for AppKit in Big Sur and Monterey.
Open Terminal and paste:
defaults write -g NSAlertMetricsGatheringEnabled -bool false
If you want to restore it:
defaults delete -g NSAlertMetricsGatheringEnabled
I don’t recommend this anymore, since it is caused issues in Catalyst apps.