Add overflow hidden to modal container div (fixes #2576)

https://www.openproject.org/issues/2576