feat(popover): add support for contentTemplate
chore(docs): better docs for modal (fixes #381)