modal transition fix