gain focus when tab is newly created