# Bug DREAM-346 - Attachments delete confirmation dialog opens behind attribute help text dialog

Project: Stream Design System
Status: closed
URL: https://community.openproject.org/work_packages/DREAM-346

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Modules and project features / Project attributes, Administration / Help texts |
| Target versions | 16.1.0 |
| Observed in versions |  |
| Sprint |  |
| Backlog bucket |  |
| Bug found in version (deprecated) |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

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

## Planning

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

## Costs

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

## Description

### Steps to reproduce

1.  Login as a user with permissions to create attribute help texts and edit projects.

2.  Click on the user avatar in the top-right hand corner of the screen.

3.  Click Administration \> Attribute help texts.

4.  Select the Project tab.

5.  Click on "+ Attribute help text"

6.  Select "Name" as Attribute (or any built-in attribute that is displayed on the Project Settings \> Information page).

7.  Under "Attachments", upload at least one file.

8.  Click "Save" to save the attribute help text.

9.  Select a suitable project from the Projects selector in the top left of the screen.

10. Click Project Settings in the left hand menu.

11. Under "Basic details" click the help text link (question mark icon) next to "Name" (or the built-in attribute for which you created an attribute help text).

12. The help text dialog should open.

13. Under "Attachments" hover over one of the attachments.

14. Click delete (trash icon) to remove the attachment.

### What is the buggy behavior?

  - The deletion confirmation dialog opens underneath the attribute help text dialog - and is only visible by closing the attribute help text dialog.

**N.B. This applies to the Primerized  attribute help text implementation onlly**

### What is the expected behavior?

1.  ~~The deletion confirmation dialog should open above the attribute help text dialog and be visible.~~

2.  The user should not be given the ability to delete attachments from within the attribute help text dialog - the delete link (trash icon) should be hidden.

### Screenshots and other files

See attached screen recording.

### Environment information

*Please check and fill out the following details to help us identify in what versions and distributions of OpenProject the error occurs*

**OpenProject installation type**

16.1

**OpenProject version**

*If you're not running on the cloud edition, please specify the version of OpenProject you're running. Example: v12.1.5*

**Browser**

- [x] Chrome
- [ ] Firefox
- [ ] Safari
- [ ] Mobile Safari
- [ ] Other (please specify)

**Operating System**

- [ ] Windows
- [x] Mac OS X
- [ ] Mobile iOS
- [ ] Mobile Android
- [ ] Linux (please specify distro)
- [ ] Chrome OS
- [ ] Other (please specify)

**Language**

*en\_GB*
