InputConfigDiag: Save the configuration when pressing "OK" This fixes a common UI complaint of the control dialog UI. Also, don't close the dialog if we have an error with the expression.