title: Cannot call widgetVar directly in PrimeFaces 5
body: <p>I want to switch from PF4.0 to PF5.0, in my console I see a lot of Reference error, because the widgetVars of my elements are no longer exists. However I can call for example the confirmDialogVar widget as PF('confirmDialogVar').show() but not with confirmDialogVar.show() as before.</p>
  
  <p>Is it possible to bring back the 'old' functionality?</p>
  
  <p>Thanks in advance!</p>