switched to a different cookie framework, clicking off of modals now closes them