---
title: "Modal"
slug: "modal"
abstract: "How to add a button that opens a modal dialog containing information about the current entity."
---
# Modal

The **Modal** component provides a button that lets users open a modal window containing information about the current entity. This information is retrieved from a linked page. Settings for the **Modal** component are specific to the [portal language](https://doc.sitecore.com/ch/en/users/content-hub/manage-portal-languages.html "Manage portal languages") selected in the upper-right corner of the application window.

> [!note]
> The **Modal** page component is rendered in Knockout. For similar functionality rendered in React, use the [**Navigation** component](https://doc.sitecore.com/ch/en/users/content-hub/navigation.html "Navigation"). For additional information about React components, see [Migrating to React](https://doc.sitecore.com/ch/en/developers/cloud-dev/migrating-to-react.html).

To add a **Modal** component:

1. On the menu bar, click **Manage** :mdiCogOutline:.
2. On the **Manage** page, click **Pages**.
3. On the **Pages** page, select the page you want to modify.
4. On the **Layout** tab, [add the page component](https://doc.sitecore.com/ch/en/users/content-hub/add,-modify,-or-delete-page-components.md "Add, modify, or delete page components").
5. Click the component to open its details page.
6. In the **Page** section, from the **Link to page** list, select the page you want to link to.
7. In the **Button label** field, enter a label for the button that opens the modal window.
8. If you want the modal window to include a button that lets users save the changes made on the linked page or simply close the page, click **Add button** :mdiPlus:, define the following settings, and then click **Add button**. You can repeat this step to add multiple buttons if required.

    | Setting | Description |
    | --- | --- |
    | *Label* | Label for the button. |
    | *Action* | Action triggered by the button. |
    | *Style* | Visual aspect of the button. |

9. Click **Save**.