Show confirmation dialog when deleting elements.

The user is now prompted with a confirmation dialog
when they delete a feature or a story.