Fixed alert hiding