Clear frappe.show_alert() from screen

Hi.

I’m currently using frappe.show_alert() to communicate to the user about certain processes. I read through the documentation Dialog API, but could not find any way to clear the screen. Is there a way I can clear all alerts from the screen without refreshing the page?

Thank you.