add confirmation dialog to confirm delete