added confirm dialog to delete button