Like I said in my original response the picked instances get lost between functions. There's no point adding the condition to a function that already has it, the problem is with the functions that don't have it like the format dialogue function.
I've added the condition as a sub-event to each function. What should I do next? It doesn't seem to be working. :p