added clickClose parameter to modal windows to avoid them to get closed on external click