Close a dialog, a side panel or a notification with its own close button (the × first, else another button that closes it), or a drop-down menu with its button, and wait until it is closed and has stopped moving: hidden, its transition over, and for a notification until it has left the page. The close button of a notification shows only under the pointer: the step points at the notification first. One that is already closed is left as it is.
Examples
When I close the "Newsletter" dialog
When I close the "Menu" side panel
When I close the "A new version is ready to install." notification
When I close the "Account" drop-down menu
When we close the "Terms of use" dialog
Pattern
When(/^(?:I |we )?close the "([^"]*)" (dialog|side panel|drop-?down menu|notification)$/, …)
Part of @webship-js/uikit-steps (github.com/webship/uikit-steps), a step pack for Webship-js 2.0.x.