create an alert from within the app