Prevent foundation from closing accordions without asking. Fixes #318 and #60.