Unnecessary "required fields" nag when disabling a symbol for simulation

Description

When marking an symbol as disabled for simulation, kicad complains that some simulation information is omitted ("Please, fill required fields"). Pressing OK then goes ahead and assigns a resistor model to the symbol, in addition to excluding it from the netlist.

It seems like this check is an unnecessary nag if the "Disable Symbol for Simulation" box is checked: why are any fields other than "Spice_Netlist = N" required if the symbol is not being simulated?

Steps to reproduce

  1. Add a symbol you don't want to simulate (e.g. Heatsink_Pad)
  2. Properties -> Spice Model -> check Disable Symbol for Simulation -> Press OK
  3. "Please, fill required fields" dialog pops up
  4. press OK
  5. required fields are filled in for you (Spice_Primitive = R and Spice_Netlist = N) -> why was the dialog necessary? It just made me press OK for no reason.

KiCad Version

Application: Eeschema

Version: (5.99.0-8700-g73b8ae18f4), release build

Libraries:
	wxWidgets 3.0.5
	libcurl/7.74.0 OpenSSL/1.1.1i zlib/1.2.11 zstd/1.4.5 libidn2/2.3.0 libpsl/0.21.1 (+libidn2/2.3.0) libssh2/1.9.0 nghttp2/1.41.0

Platform: Linux 5.4.85-1-lts x86_64, 64 bit, Little endian, wxGTK, KDE, x11

Build Info:
	Date: Jan 29 2021 03:53:31
	wxWidgets: 3.0.5 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
	Boost: 1.75.0
	OCC: 7.5.0
	Curl: 7.74.0
	ngspice: 33
	Compiler: GCC 10.2.0 with C++ ABI 1014

Build settings:
	KICAD_SCRIPTING=ON
	KICAD_SCRIPTING_MODULES=ON
	KICAD_SCRIPTING_PYTHON3=ON
	KICAD_SCRIPTING_WXPYTHON=ON
	KICAD_SCRIPTING_WXPYTHON_PHOENIX=ON
	KICAD_SCRIPTING_ACTION_MENU=ON
	KICAD_USE_OCC=ON
	KICAD_SPICE=ON