Use focus on document to capture new active elements from tabs