modal transition adjustments