How NOT to use shadcn modals

Never inline close a shadcn modal like this:

<Modal />

Always

<Modal></Modal>

otherwise you'll get all kinds of errors that doesn't even tell you where the problem is coming from