made modal mobile friendly