Refinements to modal sizing