Open new tab on Mac when closing by mouse click