media queries and dialog box