added center dialog for export