Check if we're closing the right tab