Fixing a little issue at the beginning of our program causing the
program to do not exit (first dialog).