Wired up Export to XML button