moved export_dialog from common folder