Added list view to dialog layout; improved example