GTNPORTAL-3182

Fixes the case when multiple portlets on a page receive the same event and one of them(not the last one on the page) changes the window mode to maximized. In that case the last portlet would always override the change of maximized portlet that the previous portlet had done.