[frontend] store quiz instance in Globals.