dialog and spectra settings fixes