Change alert to prompt