connecting lightbox to repeater

hey my name is itay and I have a dog-walking company for other companies (i take out the employee’s dogs)
I have created a lightbox where customers can check dropboxes in other to filter the dog walker repeater where I show all available dogwalkers
but i cant link the information from the lightbox to the repeater because they are on another page

here is the code
import wixData from ‘wix-data’ ;

export function searchButton_click ( event ) {
search ();
}

function search ( ) {

wixData . query ( "6dbbgbay2a2fj" ) 
    . contains ( "text1" ,  String ( $w ( '#dropdown1' ). value )) 
 . and ( wixData . query ( "6dbbgbay2a2fj" ). contains ( "newField" ,  String ( $w ( '#dropdown2' ). value ))) 
     . and ( wixData . query ( "6dbbgbay2a2fj" ). contains ( "text" ,  String ( $w ( '#dropdown3' ). value ))) 

       . find () 
    . then ( results  => { 
        $w ( '#repeater1' ). data  =  results . items ; 
    } 

the problem is that i cant connect the repeater to the lightbox


thankyou

First question:

Why you do not place your REPEATER DIRECTLY ONTO THE LIGHTBOX ?

Communication between LIGHBOX and PAGE is a little bit tricky.

EXAMPLE from VELO-API-REFERENCE…
This shows you how to communicate between PAGE and LIGHBOX… (back and forth)

/*************
 * Page Code *
 *************/

import wixWindow from 'wix-window';

export function openButton_click(event) {
  wixWindow.openLightbox("MyLightBox", {
    "pageSend1": $w('#pageSend1').value,
    "pageSend2": $w('#pageSend2').value
  })
  .then( (data) => {
    $w('#pageReceive1').text = data.lightBoxSend1;
    $w('#pageReceive2').text = data.lightBoxSend2;
  } );
}

/*****************
 * Lightbox Code *
 *****************/

import wixWindow from 'wix-window';

$w.onReady( function () {
  let received = wixWindow.lightbox.getContext();
  $w('#lightBoxReceive1').text = received.pageSend1;
  $w('#lightBoxReceive2').text = received.pageSend2;
} );

export function closeButton_click(event) {
  wixWindow.lightbox.close( {
    "lightBoxSend1": $w('#lightBoxSend1').value,
    "lightBoxSend2": $w('#lightBoxSend2').value
  } );
}