How can i set the Position of a confirmdialog ?

Normally the dialog is centerd but i like to have it more to right, is it possible?

There is no Java API for that

VaadinDialog dialog = new VaadinDialog();
dialog.getElement().getStyle().setRight(“50px”)

Play with the getStyle, for your result

Yes, with styles you can do it

See the .product-form (actually overlay of the Dialog) where position: absolute is set so that I can control positioning better. This particular set of styles makes Dialog to be like Offcanvas.