Use custom template for modal