make ErrorWindow Component