adding modal classes