# Bug OP-11246 - Duplicate cancel buttons in mobile modals

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-11246

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 12.3.1 |
| Observed in versions |  |
| Sprint | 12.3.1 |
| Backlog bucket |  |
| Bug found in version (deprecated) |  |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

On mobile, modals have duplicate close actions, the action bar `Cancel` and the mobile close button

  

**Expected behavior**

*   On mobile, the action bar never shows &quot;Close&quot; or &quot;Cancel&quot;
    *   If this is the only button on Desktop, the entire action bar is hidden
*   On mobile, the &quot;X&quot; cancel button appears below the full-width modal as shown below

<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/39081/content">

<figure class="image op-uc-figure"><div class="op-uc-figure--content"><img class="op-uc-image" src="https://user-images.githubusercontent.com/1019287/194213695-31580189-eab6-4125-b977-a93effe8308d.png" alt="EAF7B73C-2B46-4601-B8ED-B5C46C303A75"></div></figure>
