Alert box delegate added.