adding modal functionality to entire site