FACES-2032 fix for Test failure in liferayfaces3-portlet Selenium test 

and added alloy:dialog to liferayfaces3-portlet