integration of templates and kivy for the popup stuff