# Bug DREAM-240 - "New child" modal closes unexpectedly on mouse release outside. Confirmation also missing.

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

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 15.4.0 |
| Observed in versions | 15.3.0 |
| Sprint |  |
| Backlog bucket |  |
| Bug found in version (deprecated) | 15.3.x |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

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

## Planning

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

## Costs

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

## Description

### Steps to reproduce

1.  From **Relations** tab add a new Child
    
2.  The modal window displays a form
    
3.  Mark the default text in the description from top to bottom
    
4.  Release the marking of the text outside of the modal
    

### What is the buggy behavior?

*   Modal closes
    
*   All inputs are lost
    

### What is the expected behavior?

1.  Modal does not close.
    
2.  Side wish: Never close that modal just like that. Always ask for confirmation first.
    

### Environment information

*   OpenProject instance: community.openproject.org
    

**Browser**

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

<br>
