adjustments to modal transitions and layout