Placement of a modal

Currently, I am going into an application where there was a decision made to have modals slide into the screen from the right but stay snapped to that right window border.

modal right

From experience in other applications, I have seen modals always be dead center in the screen or centered horizontally.

enter image description here

I am unsure if this is something that should be continued with or if I should push more modals being in the center of the page.

Any help would be appreciated.