Wait for alert