Changed alert to html warning (thanks greenJello)