clicking the x now closes errors