working on iframe close and pic reload