Export button triggering an export event