It would be interesting to have a function that I call when clicking on the backdrop to close. So a toggle could be created manually.