ECMS-4412:CheckBox field value reset when used in metadata dialog

ECMS-4412:CheckBox field value reset when used in metadata dialog