selenium thinks my modal is not displayed with overflow:hidden