Changed 'alert' to html alerts or toasts