LPS-38393 Caps dialog dimensions to screen available space
LPS-38393 Uses Liferay.openWindow instead of creating A.Modal directly