Resizing a dialog

I have a page that is opened as dialog, just like the published example that opens DialogCardPage.razor as a dialog. The question is if there is a way the page itself (not the page that opens the dialog) can resize the dialog. Using the example, the question would be if there is a way in the DialogCardPage.razor code to manipulate the dialog size.

You can only set the initial size of a dialog. You cannot resize it later from the parent component.