const dialogRef = this.dialog.open(OpenedDialogComponent, {
width: '98vw', //sets width of dialog
height:'70vh', //sets width of dialog
maxWidth: '100vw', //overrides default width of dialog
maxHeight: '100vh', //overrides default height of dialog
disableClose: true //disables closing on clicking outside box. You will need to make a dedicated button to close
});