Fixed a bug in ObjectDialog