Made the text import dialogs sort of work again