Remove console logging in dialog
Add console logging to check the spans