> For the complete documentation index, see [llms.txt](https://help.tahua.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.tahua.io/product-news/2026/august/delete-applicant-user-confirmation-modal.md).

# Deleting an Applicant User or Registration confirmation modal

## Problem

Deleting an Applicant User, or deleting a Registration directly, only ever showed a small browser confirmation popup, regardless of the consequences. In practice, deleting a User who is the only member of an individual applicant's registration (or the last remaining member of an organisation applicant) permanently deletes that Registration and everything attached to it — Applications, Contracts, and Milestones. Deleting a Registration directly always has this effect. Admins had no way to see what was actually about to disappear before confirming.

## How It Works

Clicking "Delete" on an Applicant User — from either their profile page or the Applicant Users list — now opens a modal instead of a plain browser confirmation.

* If deleting the User will also delete one or more Registrations (because they're the only member), the modal lists each affected Registration along with its Applications, Contracts, and Milestones, so the admin can see exactly what will be lost before confirming.
* If the User is one of several members on their Registration(s), deleting them won't cascade to anything else, so the modal shows the same simple warning as before, just laid out in the modal rather than a browser popup.

Clicking "Delete" on a Registration itself (an individual applicant, or an organisation applicant from the Applicants list) also now opens a modal listing that Registration's Applications, Contracts, and Milestones before confirming, since deleting a Registration always permanently deletes everything attached to it.

## UI Changes

* **Delete confirmation modal**: Replaces the browser `confirm()` popup on the Applicant User profile page, the Applicant Users list dropdown, and the Registration delete actions (profile sticky nav and Applicants list dropdown).
* Lists affected Applications, Contracts, and Milestones (each linking to its own record, tagged with the same source badges used in internal comments and conversations) whenever a delete action would cascade-delete them.
