I am currently working on a project that involves a global VueJS file along with child vuejs files that vary depending on the page. One of my goals is to develop a media manager that can be called multiple times on a single page, allowing users to either select images or upload them through a modal window. While I have figured out the image uploading aspect, what remains unclear is how to handle the selection process and return the chosen image back to the original element in an array that can be assigned to a specific variable. Example scenario: Let's say there is a vuejs element named article_image with a variable "article_image_data" and a corresponding button. Clicking this button should trigger the modal manager, where users can choose an image and then press "Select." Upon closing the modal, the selected image data will be sent back as an array and assigned to "article_image_data". This system could interface with other sections on the same page such as a category section.