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

# Popup 07

> Modal popup with icon, title, message, checkbox, and two action buttons in clean card layout.

<Frame>
  ![Popup 07](https://ffciaqoksnnzuihswbxs.supabase.co/storage/v1/object/public/components/Elements/Popups/popup-alert-horizontal-warning-bis.png)
</Frame>

## Overview

Popup 07 is a confirmation dialog component designed to alert users about unsaved changes. It features a warning icon, a title, a descriptive message, a 'Don't show again' checkbox toggle, and two action buttons: 'Discard' and 'Save Changes'. It is intended to be triggered programmatically and includes workflow logic for dismissing the popup, saving changes, and toggling a persistent preference state.

## How to use

<Steps>
  <Step titleSize="h4" title="Open the Brikl panel">
    Navigate to the **Elements** category in the Brikl panel.
  </Step>

  <Step titleSize="h4" title="Copy the component">
    Find **Popup 07** and click **Copy**.
  </Step>

  <Step titleSize="h4" title="Paste into your editor">
    Paste it into your Bubble canvas with `Cmd + V` (Mac) or `Ctrl + V` (Windows),
    or right-click on the canvas and select **Paste**.
  </Step>
</Steps>

## States

This component includes conditional states that automatically change its appearance.

| State                        | Trigger                                                   | Visual effect                                                    |
| ---------------------------- | --------------------------------------------------------- | ---------------------------------------------------------------- |
| Discard Button Hovered       | Mouse hover over the Discard button                       | Background color changes to rgba(245, 244, 244, 1)               |
| Discard Button Disabled      | Discard button is not clickable                           | Button opacity reduces to 50%                                    |
| Save Changes Button Hovered  | Mouse hover over the Save Changes button                  | Button opacity reduces to 90%                                    |
| Save Changes Button Disabled | Save Changes button is not clickable                      | Button opacity reduces to 50%                                    |
| Checkbox Checked             | Custom state 'show\_again\_' on the Popup element is true | Checkbox icon changes to a filled checkmark with dark background |

<Note>
  These states are handled natively by Bubble and require no additional setup.
  They will work automatically once the component is pasted into your editor.
</Note>

## Responsive

This component adapts to mobile screens. Font sizes and layout automatically adjust on screens smaller than Bubble's built-in mobile breakpoint.

## Workflows

This component includes pre-built workflows.

| Trigger                                             | Action                                                 |
| --------------------------------------------------- | ------------------------------------------------------ |
| BT - Discard button clicked                         | Hides the Popup 07 element                             |
| Checkbox icon clicked (when show\_again\_ is true)  | Sets custom state 'show\_again\_' on Popup 07 to false |
| Checkbox icon clicked (when show\_again\_ is false) | Sets custom state 'show\_again\_' on Popup 07 to true  |
| Trigger element (bTUMK) clicked                     | Shows the Popup 07 element                             |

<Note>
  These workflows are included when you use the **Copy with Workflows** option in the Brikl panel.
</Note>

## Requirements

|             |                       |
| ----------- | --------------------- |
| License     | Starter plan required |
| Plugins     | None                  |
| Custom code | Not required          |

## Platforms

| Platform | Supported |
| -------- | --------- |
| Web      | ✅         |
| Mobile   | ❌         |

## License

<Note>
  This component requires a **Starter** plan.
</Note>
