adds 'hide' class to modals (fixes nav)