Press a button of the open dialog, by its text.
Examples
When I press "Add block" in the dialog
When I press "Update block" in the dialog
When we press "Cancel" in the dialog
And I press "Add condition" in the dialog
When press "Save configuration" in the dialog
Pattern
When(/^(I |we )*press "([^"]*)" in the dialog$/, …)
Part of @webship-js/backdrop-cms-steps (github.com/webship/backdrop-cms-steps), a step pack for Webship-js 2.0.x.