adding responsive qualities to modal