fix tags in modals