fix modal transition location