hide pop up only after image save