Added event for stylesheets in ACP header template

Fixes #1341