Can the size of the dialog window be opened based on the user's screen resolution?

Can the size of the dialog window be opened based on the user's screen resolution?

Is there a way to user percents instead of fixed values?  So, setting a dialog box to open at 75% of the height and width as opposed to 600px wide and 200 px in height?

Is this possible?

Thanks.