Handle alert banners in alerts.rb