Office Scripts extract Excel hyperlink URLs without macros; results are hardcoded so the file can stay .xlsx, reuse is straightforward.
Simply wrap all components that should display dialog boxes with the DialogProvider component, e.g. by wrapping your router with it.