Fix modal crashing site