The configuration file now saves when the 2D form is closed.