I suppose the insertion of a conditional expression to devine if the selection was a single object and it was a component or group, then the default for the input box could be set to the name.
Would you use the instance name or the definition name ? or check 1st the instance and if empty then the definition ?
Currently it just works upon all elements in the selection, ie … expecting a multiple selection.