modify modal class