I found it, the BPO wasn't clearing a buffer, so the loading of the modal panel failed, and things went downhill from there..