Fixed: pTemplate events must be triggered in main application context