Intercept browser alerts (the interruptive popups) and turn them into gentle modals.
The extension will replace the interruptive browser alert window with a modal which won't force you to switch between tabs. It also prevents you from accidentally closing alert windows when you're typing.
You can close the modal by pressing "Enter", "Escape", or "Space". The alert window also comes with a (disableable) audio chime and can be automatically closed after an amount of time.