TD-3817 Resize controls on select layout when dialog