Fix modal out transition