fix contract (#f can always happen-- it means the dialog was cancelled by the user)
use the same colors as in the docs for the text & label in the blue boxes