fix modal css ext inheritance issues