A CodePen by Anonasaurus Rex. Responsive jQuery UI Dialog - Making jQuery UI Dialog responsive and respecting maxWidth