Meets #7684: No warning message when closing work package modal form which contains text via Escape key or click at location outside of modal

[``* `#7684` No warning message when closing work package modal form which contains text via Escape key or click at location outside of modal``](https://www.openproject.org/work_packages/7684)