fix up modal event model