Focus modal windows

https://www.openproject.org/work_packages/8692