material ui dialog onclose code example Example: material ui chaging the size of a dialog fullWidth={true} maxWidth={'md'} // 'sm' || 'md' || 'lg' || 'xl'