s4-pycommon: allow an optional 'all' choice for confirm dialogs