A script event is now dispatched upon clicking on a UI button