properly close the news window after redirection