The only other thought I had is if you put your overlay inside your dropdown underneath the menu so that it will show whenever the menu is open but be set to fixed position with a z index lower than the menu. It should the auto show/hide with the dropdown without an interaction.