added modal class and improved URLs class