def METHOD_NAME(self, url, header='', use_current='', parent_url=''):
    with BusyDialog():
        plugins_dir = []
        if parent_url and url != f'plugin://{self.plugin_id}':
            plugins_dir.append({'label': get_localized(32426), 'file': parent_url})
        if use_current:
            plugins_dir.append({'label': use_current, 'file': url})
        plugins_dir += get_directory(url)
        plugins_gui = [
            ListItem(
                label=i.get('label'), label2=i.get('file', ''),
                art={'thumb': i.get('thumbnail', '')}).get_listitem()
            for i in plugins_dir]
    x = Dialog().select(header, plugins_gui, useDetails=True)
    if x == -1:
        return
    return plugins_dir[x]