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