Fixed mapping for modals.