Dialogs.c: switch to using libiio