use session vars to handle modals
close modal on any page transition