`dialogHelper.open` has become async and it is not possible to perform any action immediately after calling it.