added modal class to overlay