when a painting is clicked, the url of the texture will be fetched and added to the modal