In front-end there is a list, in this list each element has a button when it is pressed it opens a popover with a form, I have two querys, one to fill the form based on elem