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?
2 Replies
Patrick Boivin
Patrick Boivin2mo ago
Just curious, what's the use-case for this? Do you want to share a url to open the modal directly?
nerdroid
nerdroid2mo ago
yep, that is exactly my use-case!