Close current window, and open new tab