fix Brave crash on confirm(1) bug …
- make sure that when `message` is a number (or other non-string type) it is coerced to a string - same change as what @bridiver did for alerts in #4798, but for confirm dialog fixes #4883