Fix jquery ui dialog resize