The exit status of `whiptail` was masked by the subsequent call to `clear`. This correct the capture of whiptail's exit status so that pressing the `[Cancel]` button can be correctly detected by the script. Fixes #7830