Fix position of close button when modal is between mobile and tablet
view