Fix the Java 8 warning dialog not hiding.