Put modals into a separate template.