NEW: pio management with dialogs