remove image on detail close