AUI-1767 - Realign modal when window is resized

Hi Jon,

Attached is an update for https://issues.liferay.com/browse/AUI-1767.  

Please let me know if there are any issues.

Thanks!