Fix and improve alert presentation for Thunderbird and Firefox