Data model undefined when MAC widget in error state

This commit fix a problem with the MAC that was resetting the data model to undefined when the user was inserting an invalid item.