dialog: support tuple in addition to list

Change-Id: I781d452d62c6524c1435fa9910eadb7143dc3cdf
Signed-off-by: Alon Bar-Lev <alonbl@redhat.com>