example of an alert and a progress bar