Initialize table before file chooser.
Merge pull request #1824 from jburel/npe-importer

Initialize table before file chooser.