Return null when window.open() is popup blocked