Invoke-UDRedirect inside UDModal submit button

When I use the invoke-usredirect from the submit button nothing happens. I want the page to reload as new after clicking the submit button so thought I would just redirect it back to its self.

any ideas otherwise?

You could use Invoke-UDJavaScript to reload the page.

Invoke-UDJavaScript "window.location.reload()"