fix safari issue with modal scrolling