smoother modal transitions pt 2