Widget hyperlinks don't work the same as text layer hyperlinks to navigate within a file

I’m programmatically setting a hyperlink in a Text object with the href property in my widget, Button.

When the hyperlink points to a layer in the current file, clicking it from the widget always opens the link in a new browser tab, instead of navigating within the file. However, if I set the same hyperlink on a TextNode layer in the file, it navigates to the target layer within the file.

Would love to see Widget text hyperlink behavior be updated to match TextNode hyperlink behavior for easier in-file linking.