updated modal and responsive code