lml/ost#347: Convert native confirm to dialog based confirm.

TODO:

* [ ] Debug and fix the "Continue" button action.
* [ ] Fix styles for checkbox and dialog.
* [ ] Refactor and extract it into a gem / plugin.
I find maybe_confirm a slightly odd name, but maybe that's just me.