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

# Preview Modal

> Click any document to view it inline — PDF iframe, image viewer, or download fallback — with tag editing built in.

Click any document in a journey's Documents tab and a **preview modal** opens. The modal is the single place you do per-document work: read the file inline, manage tags, download, send, or delete.

\[Screenshot: Preview modal open over a journey, showing a PDF in the main panel and tag chips at the top]

## What renders inside

The modal picks the right viewer for the file:

| File type                                          | Viewer                                                    |
| -------------------------------------------------- | --------------------------------------------------------- |
| PDF                                                | Inline PDF iframe — paginated, scrollable, zoom controls  |
| Image (`.jpg`, `.png`, `.heic`, `.webp`)           | Inline image viewer with pan + zoom                       |
| Word doc, spreadsheet, email export, anything else | "Download to view" fallback with a single download button |

PDFs are the dominant case here — most firms upload medical records, demand letters, and court filings as PDFs, and reading them inline saves you bouncing in and out of a desktop PDF viewer.

## Tag chips at the top

The top section of the modal shows the document's [tags](/admin-cross-cutting/documents/tagging) as removable chips. You can:

* **Add a tag** — click into the input, autocomplete suggests existing tags from this journey.
* **Remove a tag** — click the **×** on any chip.

Changes save immediately — there's no separate "save" button. The tag list updates the document list behind the modal in real time, so when you close the modal you'll see the new tags reflected in the folder.

## Actions

The modal footer has a small set of primary actions:

* **Download** — get the original file to your machine.
* **Send** — open the [Send Document Modal](/case-management/journey-tabs/documents) to email this file (with optional cover note) to a contact on the journey.
* **Delete** — remove the document from the journey. Soft-deleted; recoverable from Admin → Trash for 30 days.

## Keyboard shortcuts

| Key       | Action                                      |
| --------- | ------------------------------------------- |
| `Esc`     | Close the modal                             |
| `←` / `→` | Previous / next document in the same folder |
| `D`       | Download                                    |
| `T`       | Focus the tag input                         |

## Closing the modal

Click outside the modal, hit `Esc`, or click the **×** in the top-right. Any tag changes are already saved.

<Note>
  Document tabs on a Journey: [Case Management → Journey Tabs → Documents](/case-management/journey-tabs/documents)
</Note>
