add frontmatter to modal