Modify url/query string when action modal opens

Let's say that I have a simple CustomerResource at /admin/customers, when I open the create modal i'd like the url to show /admin/customers?tableAction=create or when I edit one i'd like the url to show /admin/customers?tableAction=edit&tableActionRecord=1

I can't find any docs with indications to action hooks? Is this achievable in any way?
Was this page helpful?