I’m not seeing an accordion…
I stumbled upon the same problem: when you have an accordion made by dropdowns, if you have a light box inside a dropdown and you open the lightbox, the dropdown gets closed. So when you are finished watching the lightbox/ lightbox gallery, you expect to see the opened dropdowned, where you originally started the lightbox. That expectation is broken because the dropdown has closed.
I don’t think I’d use a dropdown (not completely sure what you mean by that) for an accordion. Simple divs with interactions should be fine.
By dropdown, I mean the dropdown widget. When you put dropdown widgets one after another, set the dropdown list to relative, the queue of widgets automatically becomes an accordion. This is the fastest way to build an accordion but obviously has its limitations.