modal template buttons can be configured