Use the value of image_popup in OutputsController to determine if the image popup should be open or closed
Clicking on image in product list sets the value of image_product as clicked product and clicking x in image popup sets the value of image_product as null