Add wait for alert