selected link is green
modal closing fix