LPS-49362 Listener created when window is openned

You can actually remove the REGEX constant and change this if clause to:
```
if (event.portletId === '<%= portletDisplay.getId() %>') {
```