Modal now defaults to using html5 flexbox for displaying