wait arg to handle_popup is actually used, accordion selects handle occasional popup

I didn't lint this at all, but flake8 was pretty upset :(