This doesn't make sense to me, the `match-pred` is something that should be passed in here, not later.  Every time we use this same cancel button, the `match-pred` will be the same.