fix non-closing export dialogs