change modal class