check if new tab will be created