Been going through the guide and examples, newer H5 developer, and haven't found what I'm looking for.
I'm using the ConfirmDialog.ShowMessageDialog to inform the user to wait until an API call has finished, is there a proper way to close a dialog box created in that fashion? I'm trying to avoid deleting as I've tried with other elements and see it clog up the HTML with empty divs all over the place.
Apologies for my naivety if there is a simple solution, and thank you for any help.