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