# Bug OP-14701 - Deletion dialog does not provide enough context

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 14.0.0 |
| Observed in versions |  |
| Sprint | 14.0.0 |
| 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

### Steps to reproduce

*Please write down the steps to reproduce. Try to write down all necessary preconditions (what permissions do you have, are other users involved?). Example:*

1.  Create a project attribute
2.  Use it and add several custom values to it
3.  Delete the project attribute

### What is the buggy behavior?

  - Dialog only says 'are you sure' even though deleting the attribute would also delete associated values

### What is the expected behavior?

  - Dialog provides more context to the user:
      - Replace "Are you sure?" with:
      - "Deleting this attribute will also delete its values in all projects. Are you sure you want to do this?"

### Out of scope

  - Replace this browser dialog with a proper Primer one
      - Header: "Delete attribute"
      - Dialog text: "Deleting this attribute will also delete its values in all projects. Are you sure you want to do this?"
      - A red danger "Delete" primary action 
      - A "Cancel" secondary action
  - For existing implementation, see: <mention class="mention" data-id="50266" data-type="work_package" data-text="###50266">###50266</mention>

### Screenshots and other files

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

**OpenProject version**

Core build

[6c359a52ae872152d980965c73091c5feb61f00c](https://github.com/opf/openproject/commits/6c359a52ae872152d980965c73091c5feb61f00c)

Product version

[272767a127586f81c23dd3ee4439090f551c2b1a](https://github.com/opf/saas-openproject/commits/272767a127586f81c23dd3ee4439090f551c2b1a)

Core version

OpenProject 14.0.0

**Browser**

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