Use label of first template as Template dialog title

Change-Id: Ib273430c94249c8dbad14abb9d1f6ad3286bdc8a