Handle Alert+Confirmation Dialogs and register default search engines.