Fix popup window and tab issues on IE 8