How to display different images in custom dialog kodular

I have in this project 6 image components and 1 custom dialog I intend that each one of them when clicked opens a custom dialog where it allows to take a photo or display the respective image. I don’t want to use tinyDb so that the app doesn’t get heavy. These are the blocks I used but when I click to exit the custom dialog it repeats the same photo for all image components. Can you give more ideas?
![blocks (48)|397x500]

:sob: somebody save me?