Close picture popups when clicked