fixing exportDialog