wrestling with js modal and carosoul