Added event code to the Save button when creating a new asset or editing and existing asset.