added confirm dialog when delete button is clicked