render modal when nav bar is sticky