Fix insents for modal mode.