> ## Documentation Index
> Fetch the complete documentation index at: https://handbook.getvera.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Engineering Principles

# Front-end

## Modals

All of our modals should be standardised to meet with the following criteria:

**Always use a query that modifies the URL**. This allows us to capture events in Posthog without extra dev work and makes it future-proof for AI implementations (we can easily expand the query model for AI to create pre-filled forms for customers).

**Fool proof-modals**. Unless stated otherwise, modals should be fool-proof, meaning clicking outside of it will not close it. By default, the `<AlertDialog>` component should be used with `showCloseIcon`.
