I have added this functionality in slightly different manner - URL is parsed automatically, not on Ctrl-V.
Also, if ID or ID list is in clipboard, it is pasted "as is", user needs to select the type by combobox then.
I did not manage to preselect tfId in Extended dialog because the default button is focused on showDialog().