> For the complete documentation index, see [llms.txt](https://developer.supervisely.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.supervisely.com/app-development/advanced/in-depth-app-development/chapter-2-modal-window/part-1-modal-window-what-is-it.md).

# Part 1 — Modal window \[What is it?]

The modal window in Supervisely appears after clicking on the launch button of the application. It can be used for at least two things:

1. to inform the user
2. to enter arguments

### Table of Contents

1. [HTML file](#step-1-html-file)
2. [Results](#step-2-results)

### Step 1 — HTML file

We use HTML to create the UI.

![memo](https://github.githubassets.com/images/icons/emoji/unicode/1f4dd.png) **you can preview your HTML in** [**our Application Designer**](https://app.supervisely.com/apps/designer)

Here's our modal window:

**src/modal.html**

```html
<div>
    <h3>This is my first modal window app.</h3>
</div>
```

Simple. Isn't?\
Now let's add it to our config file:

**config.json**

```json
{
  "name": "Modal Window",
  "type": "app",
  "categories": [
    "quickstart"
  ],
  "description": "There will be some description",
  "docker_image": "supervisely/base-py-sdk:6.1.93",
  "main_script": "chapter-02-headless/part-01-modal-window/src/main.py",
  "modal_template": "chapter-02-headless/part-01-modal-window/src/modal.html",
  "task_location": "workspace_tasks",
  "icon": "https://img.icons8.com/color/100/000000/1.png",
  "icon_background": "#FFFFFF"
}
```

### Step 2 — Results

{% embed url="<https://www.youtube.com/watch?v=yHV4pUhO1DQ>" %}
Modal Window
{% endembed %}
