(Bug 4879) Don't show error message when clicking away from the page