I recently had a similar problem with my soft top popping open at the back. On close inspection, the problem appeared to be the forward or rearward position of the bottom latch which hooks onto the soft top hook, it wasn't aligning properly, hence it popping open.
I repaired it as follows:
Unfastened all 4 bolts and inserted some washers which act as spacers and adjust the position of the latch.
If I recall correctly there’s also the possibility of some lateral adjustment of the latch.
I’ll try and post a pic later today.
This worked and I've had no issue since.
Best,
Mike