improved the dialog example for entity list