Show dialog before deleting images

This means images won't be deleted if user accidentally clicks on the button.