add custom modal class support