Notifications App - Next Event

With the built in Notifications app, does "stop repeat upon next event" refer to both open and close events, or only to open events (since under "What event do you want to monitor for" only contact opens is selected and not contact closes)?

With the rule below, I want the repeat to stop when the contact sensor closes. If next event refers to both open and close events, the repeat/notifications should stop when the contact sensor closes, correct?

It will stop on any event (for the attribute in question, contact), so a contact "closed" event will stop your repeat.