refs #5989 #6026 let users define a goal depending on an event and fix the examples and condition was not updated when user changes the match_attribute