Added a confirmation dialog to the delete button.