Show an error message when a user wants to change instruction incorrectly

A user cannot change the beacons assocaited with an instruction unless he also specifies
the trait types assocaited with it.