Focus modal windows

[``* `#8692` Focus not set on modal when opening modal``](https://www.openproject.org/work_packages/8692)