Added a scripting event when a UI animation is complete