Prevent dialog from expanding horizontally