bug modal windows

fix two close