modal js fix