Process example template data and add pages to PagedDialog based on it.

Change-Id: I34ee42e66df26000842f9b1540a577b2621f8839
Merge "Process example template data and add pages to PagedDialog based on it."