Replace some alerts with prettier messages