After adding unicode to the USE flags, dev-util/dialog failed complaining that ncursesw library wasn't found. The ncurses library was build without unicode USE flag.
*** This bug has been marked as a duplicate of 67524 ***