Copy pasted from the TestAdapter, in the tests the DialogHelper is mocked with static values.
https://github.com/gushphp/gush/pull/174/files#diff-38e589cd990d8afdcac272b25cf86ba2R169