moved modal template to seperate file