added close modal after creating an asset