buttons should also function properly
Merge pull request #377 from dimagi/export-button-fix

buttons should also function properly