Incorrect Links for nested IIS Dashboard Pages, Button to Refresh Grid/Card/Modal?

Hello -
Two questions -
I’ve been working on an dashboard for an intranet page - right now the main goal is to create folders on network share’s and assign user permissions. The site is located at website.tld/dashboard/dashboard.ps1. I’ve configured IIS, and edited the wwwroot/dashboard/client/index.html file to include the "<base href="/dashboard/" />" edit. I use the following code for my dashboard, but the auto generated links to my pages default to website.tld/pagetitle - not website.tld/dashboard/pagetitle:

$Pages = Get-ChildItem (Join-Path $PSScriptRoot ‘pages’) -Recurse -File | ForEach-Object {
& $_.FullName
}

Get-UDDashboard | Stop-UDDashboard

Start-UDDashboard -Content {
New-UDDashboard -Title “Admin Panel” -Pages $Pages
} -Wait -Autoreload

Is there a config or something I missed ?

For my second question -
I’ve got queries to Active Directory for members in groups, displayed in a UDGrid with buttons to Add / Remove users. How can I add or remove a user - and then refresh this UDGrid to update with the newly added/removed user? I’d prefer not to use autorefresh.

At first I had everything popup in a UDModal - but now I have everything on a different page. I tried Sync-UDElement but that does not seem to work either ? I’ve ended up using the object.ps1 page from the ActiveDirectory Dashboard offered in the marketplace -

if ($Object.ObjectClass -eq 'group')
{
    New-UDRow -Columns {
        New-UDColumn -SmallSize 6 -Content {
            New-UDCollapsible -Items {
                New-UDCollapsibleItem -Title "Members" -Icon users -Content {
                    New-UDGrid -Title "Case Members" -Id "members" -Endpoint {
                        Get-ADGroupMember -Identity $identity | ForEach-Object {
                            $member = $_
                            [PSCustomObject]@{
                                Name   = $_.name
                                Remove = New-UDButton -Text "Remove" -OnClick {
                                    Remove-ADGroupMember -Identity $identity -Members $member -Confirm:$false
                                }
                            }
                        } | Out-UDGridData
                    } -AutoRefresh -RefreshInterval 10
                }
            }
        }
  	New-UDColumn -SmallSize 6 -Content {
            New-UDCollapsible -Items {
                New-UDCollapsibleItem -Title "Add User" -Icon users -Content {
                    New-UDGrid -Title "Add Case Members" -Id "users" -Endpoint {
  					$Group = Get-ADGroup $Identity
                        Get-ADUser -Properties MemberOf -Searchbase "OU=groupname,DC=website,DC=tld" -Filter 'Enabled -eq $true' | Where-Object {$Group.DistinguishedName -notin $_.MemberOf} | Foreach-Object {
                            $member = $_
                            [PSCustomObject]@{
                                Name   = $_.name
                                Add = New-UDButton -Text "Add" -OnClick {
                                    Add-ADGroupMember -Identity $identity -Members $member -Confirm:$false
                                }
                            }#end PSCustomObject
                        } | Out-UDGridData
                    } -AutoRefresh -RefreshInterval 10
                }
            }
        }
    }
}