Add confirm/cancel events & more UI customization.

Updated plugin version to 1.0.0; init and config are sufficiently
different that I would deem this a backwards-incompatible change,
hence the major version update.