dialog: proper detection of keepalive flag for destination

- credit to Bill Radis, FS#416, for report and fix