add confirmation dialog for delete.