Dismiss a dialog of the app with Escape, pressed with the keyboard focus in it as a keyboard user's is; the step waits for it to go. A dialog that must be answered stays: the step says so.
Examples
When I dismiss the "Your story" dialog
When I dismiss the "What is a dialog?" dialog
And I dismiss the "Full-screen dialog" dialog
When we dismiss the "Your story" dialog
When I dismiss the "What is a dialog?" dialog
Pattern
When(/^(?:I |we )?dismiss the "([^"]*)" dialog$/, …)
Part of @webship-js/flutter-steps (github.com/webship/flutter-steps), a step pack for Webship-js 2.0.x.