Fix #23 - Replace new A.Dialog with getWindow

In Alloy 2.0 aui-dialog has been removed. For that reason
we will have to replace all occurrences of A.Dialog with
Liferay.Util.Window.getWindow