Hey Linea, are you able to share your read-only link, so we can help you better?
The solution I made probably does not work anymore because of event bubbling. It also requires both an open and a close trigger button. The only methods I can come up with right now would be Gilson’s solution with some clever z-index stacking to make sure all buttons stay on top of the backdrop, or using custom code event handlers.