moved modal content to templates