In Vaadin 14, the Dialog
widget opens properly when specifying width and height by px
(CSS virtual "pixels").
Dialog dialog = new Dialog();
dialog.setCloseOnEsc( true );
dialog.setCloseOnOutsideClick( true );
dialog.add( new Label( "whatever" ) );
dialog.setWidth( "500px" ); //