tried to add an alert. didnt work because the alert html is removed when it's closed.