Make mode_form_factory throw exception for unknown config options