Added user confirmation for aborting the repositories dialogs

- bnc#886662
- includes a little refactoring of `SelectHandle` function which I thought would be the one to change (but CWM uses different handling for :abort)
- Thanks @jsrain for help with CWM