Added convenience form to cap.alert