Fix Modal slide animations not working