Added duplicateTab call