Fix up dialogue layout.