adding events for addPhotoModalEvents test