Confirmation dialog now closed

The prefix remove confirmation dialog is now closed when the "Yes"
button is clicked.

Fixes #289