def METHOD_NAME(key, value):
    """ Select TMDbHelper value to match against """
    _dialogbuiltins = {
        'edit': lambda: Dialog().input(header, defaultt=value),
        'delete': lambda: None}
    _actionoption = ACTION_RULES[key].get('options')
    if _actionoption:  # If there's pre-set options then the rule cannot be edited
        _dialogbuiltins.pop('edit')
    _dialogvalues = [i for i in _dialogbuiltins]
    _dialogvalues += _actionoption or ACTION_VALUES
    x = Dialog().select(get_localized(32443).format(key), _dialogvalues)
    if x == -1:  # If user cancelled we return the old value
        return value
    new_value = _dialogvalues[x]
    return _dialogbuiltins[new_value]() if new_value in _dialogbuiltins else new_value