Participant/Session Dialogue box appearing during task

I am using Psychopy version 2024.2 to run several different tasks. All work fine except that the box used for entering the participant’s ID, session number etc… will reappear after the task has started.

Clicking ‘Cancel’ usually removes it and doesn’t affect the task but on some occasions the box continues to reappear several times, this only ever happens at the start of the experiment. Happy to share the Psychopy file(s) if that might help in seeing where the problem lies.