focus code after dismissing search