Select-all checkbox - custom modal integration

Hello,
My question is related to the custom modal functionality

I would like to know how after selecting the checkbox via select-all checkbox I should refer to those users who are only on this list and not to all users in pipedrive for my organization

When i select-all checkbox with filter i do not know what users are selected, unless I don’t understand something and there’s some parameter that is sent somewhere by which I can find the sent users

Maybe I should have the filters that were used sent to the query on my webhook so that I could also download these users in my integration

Example
When i add filter “name like Mateusz”

i got same response like without filter. Its parameters from query when with filter:
{

“id”: “iuwOsQ565f”,

“resource”: “person”,

“view”: “list”,

“userId”: “22245647”,

“companyId”: “13655918”,

“selectedIds”: “”,

“excludedIds”: “”,

“filter”: “{\“user_id\”:22245647}”,

“theme”: “light”,

“token”: “XYZ”

}

And when i select-all checkbox without filter
{

“id”: “E17i8-EXXI”,

“resource”: “person”,

“view”: “list”,

“userId”: “22245647”,

“companyId”: “13655918”,

“selectedIds”: “”,

“excludedIds”: “”,

“filter”: “{\“user_id\”:22245647}”,

“theme”: “light”,

“token”: “XYZ”

}