add export button to history