modal class fix