update

close modal windows by press on background and other fixes