[FIX] Accessibility fix modal focus

Implements [ticket 4023](https://www.openproject.org/work_packages/4023)