Fixed dialog resizing.