[WO-490] add bug reporting to error dialog

Because both the `Ok` and the `Bug report` buttons invoke `confirm(true)`, only one of them is displayed.