Adding popup ID to url when opened

Hey all,

Is there a way in bricks to add the ID to the url when the popup opens?

For example, when we search for Domain.com/#my-popup, the site’s homepage opens and the popup is immediately displayed.