New project!?!?!

alright i got a new project and i need some help! i got it so that when the text is clicked the pic comes up but how can i make it so that there is like and little X above the pic kinda like in windows so that the person can then click/exit out of the pic so they can click a diff name and see a new pic?