new method to present an alert