add export menu with toTable