added flash alert if asset is not valid for saving
chnaged message for invalid asset