I'm trying to make a popup menu for my appbar, but when the menu is open, I cannot press a button on the scaffold before dismissing it first. This is similarly true for dialog widgets.
How can I override this behavior? I wish for widgets like popupmenu and dialog to behave the same, and be dismissable in a similar way, except not block any other interactions when clicking outside barrier.