fixed alerts showcase for new onclose events