Back Button in Nested UDInput Field

Hi All -

Has anyone ever created a BACK button in a nested UDInput Field? Below is how I did.

New-UDButton -Text "BACK" -style @{"margin-right" = "5px" } -OnClick { Invoke-UDRedirect -url "/sanity-check#!" }

Using the above return to main UDinput Field fine, but on second attempt it doesnt work since the URL is already the same. If I used just the page name, it fully refresh / load the page which is slow (it seems to load everything). If I used “javascript:history.back()”, it went back to the last page I visit - most of the time in this case, home/default page.

Any idea on how to go back to the main UDinput field?