Modal dialog container size control