setpass.py: import Dialog only when needed

python-dialog is an optional package on most dists. If
the password is supplied we don't need it so lift
the requirement in this case.

Signed-off-by: Peter Lieven <pl@kamp.de>