added confirm dialog for delete