Here you might have provided the same ''class" property to targeted fields,
which you have used in Dropdown property(cq-dialog-dropdown-showhide-target)
Create different value for this(cq-dialog-dropdown-showhide-target) property for both the dropdowns and target the fields respectively.