Using Smart Form on a Modal

Hi, I’m using the Smart Form on a Modal and it’s working well.

But is there a way to have the modal close, after the user has successfully submitted their details through the Smart Form?

Right now they’re getting to see the popup “Success - Your message has been delivered.” but then once they close that one, the original modal with the Smart Form is still open… and as you probably know: some people can get easily confused so I’d rather close it for them so they don’t submit the same details again.