prepare epg dialog