Create Folder tree and select folder

Hi,
I am trying to create a folder tree with the ability to click on a folder and the use then be prompted to fill in some details and submit

I have got as far as getting the tree structure, but would like to know how I could put some sort of radio or select box next to each folder which when clicked on would initiate a popup form or present a card to the right or something similar.

Is this possible?

Is there some other way to achieve what I am looking for?

Get-UDDashboard |Stop-UDDashboard
$db = New-UDDashboard -Title "BeginAtZero" -Content {

$FolderRoots  = New-Object -TypeName PSObject
$FolderRoots  | Add-Member -MemberType NoteProperty -Name Folder -Value "Data01"
$FolderRoots  | Add-Member -MemberType NoteProperty -Name Path  -Value "C:\temp" 

$FolderRoots | ForEach-Object{
$FolderRoot = $_
New-UDTreeView -Node (
    
    New-UDTreeNode -Name $FolderRoot.Folder -Children {
        
        Get-ChildItem -Path $FolderRoot.path -directory |  ForEach-Object {
            $Current = $_
            New-UDTreeNode -Name $Current.name -Children {
            Get-ChildItem -Path $Current.fullname -directory| ForEach-Object {
            $Childdir = $_
            New-UDTreeNode -Name $ChildDir.name-Icon folder 
            }
        }
    }
}
)

}
}
Start-UDDashboard -Port 10001 -Dashboard $db -AutoReload

cheers