added modal to masonry component, finished connection models with each route.