Adding media queries to resize modals on short screens