general structure of the generic dialog done, still need testing...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>