More flexible matching of confirmations in StubbedDialogs