test dialog.sh