Completed new and edit functionality for the asset.