correct modal windows