Changed dialog to alert.