Show popover with url and option to open in new window

There’s no support for such a setting in URLInputButton/URLInput and those components are deprecated. Try LinkControl. It may be helpful to study its use in the core Button block. That seems similar to what you are building.