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

# Dialogs and toasts in Horizon Enterprise

> The reason dialog, confirmations and toasts of Horizon Enterprise: when they show and how to answer them.

## What it is for

Before an important change, Horizon Enterprise asks you to confirm or to write a reason, and afterwards tells you
whether it worked with a toast at the top right. This page explains those three elements, which repeat in every
module.

## What you see

![Deactivate Push? dialog over an event detail: text Push stops sending for this event, deferred sends included; empty Reason field with the hint Write at least 3 characters; Cancel and Deactivate buttons, the latter disabled.](https://mintcdn.com/bbrands/epssQQoY49ybY1H0/images/enterprise-notifications-screens/enterprise-shell/reason-dialog.en.desktop.webp?fit=max\&auto=format\&n=epssQQoY49ybY1H0\&q=85\&s=0c7c22e1f62acbfb5983831c0c2bb690)

Reason dialog: the change does not apply until you write a reason of at least 3 characters.

## Step by step

### Answer a reason dialog

The reason dialog shows on actions that are audited: deactivating a channel, cancelling or resending a send,
lifting a suppression, saving an account's preferences, among others. The reason stays in the history with your
name and the date.

**1. Read the title and the description**

They say exactly what will happen. For example: **Deactivate Push?** "Push stops sending for this event,
deferred sends included."

**2. Write the reason**

Write in the **Reason** field why you make the change. Under the field you see **Write at least 3 characters.**
until the reason is valid; then you see a counter, for example **24/500**.

**3. Confirm or cancel**

The confirm button enables once the reason has at least 3 characters. While it saves, the button shows a
spinner and the dialog cannot be closed. **Cancel** closes without changing anything.

### Answer a confirmation

Actions that can be undone, such as activating or deactivating a record, only ask for a confirmation. For example
**Deactivate the record?** "You are about to deactivate … It will stop appearing in active lists, but the action
is reversible and deletes no data." Press the confirm button or **Cancel**.

## Toasts

After an action a toast shows at the top right. Up to three show at a time, stacked.

| Kind | Colour | When | How long |
| - | - | - | - |
| Success | Green | The action finished well | 4 seconds |
| Error | Red | The action failed; the text explains why | 4 seconds |
| Warning | Yellow | The action finished partly or with remarks | 4 seconds |
| Info | Blue | Useful information, no error | 4 seconds |
| In progress | With a spinner | A long action (for example **Requesting export…**); it is replaced by the result | Until it ends |

Hovering a toast pauses its countdown, so it does not disappear.

For actions on several records, the toast sums up the result. For example, "8 of 10 were completed and 2
failed; select them again to retry."

## Rules

| Rule |
| - |
| The reason has 3 to 500 characters; some screens ask for more, for example 5 in the Club |
| Leading and trailing spaces do not count |
| The reason field clears every time the dialog opens |
| The reason stays in the action's audit trail; write it for whoever reads it later |

## Errors

| Message | Cause | What to do |
| - | - | - |
| **Connection error** | The server did not answer | Check your connection and try again |
| **Access denied** | You lack the action's permission | Ask for the permission; your session stays open |
| **Conflict detected** | Someone else changed the record first | Refresh the screen and try again |
| **Validation error** | Some data breaks the rules | Fix what the toast says |

## FAQ and support cases

> [accordion] The confirm button does not enable
>
> The reason has not reached the minimum length yet. Look at the hint under the field.

> [accordion] The toast disappeared before I read it
>
> Repeat the action if needed: toasts last 4 seconds, unless you hover them.

## Technical detail

| Aspect | Detail |
| - | - |
| Reason dialog | `app/components/shared/reason-dialog.tsx` (3 to 500 characters) |
| Confirmation | `app/components/shared/confirm-action-dialog.tsx` |
| Toasts | `app/lib/shell/toast.tsx`, `app/hooks/use-app-toast.ts`; HeroUI default duration, 4 seconds |

## Related and history

* [Lists](https://docs.bbrands.io/enterprise/getting-started/lists.md)

| Date | Change |
| - | - |
| 2026-11-10 | First version |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.