Fix bug import/export dialogs not working 
