team and detail dialog box works!