Fixed saving of the new options from the dialog.