Add opening of popup when photo name is clicked