modal background bug fix