Wiring up Window Template