Fix importing/exporting dialog