Also includes persisting settings for next dialog invocation and use the TransferDataFromWindow function rather than per-field accessor methods. Fixes: https://gitlab.com/kicad/code/kicad/-/issues/10651