now spawning alert windows instead of throwing errors