Change warning to alert