fix bug in database import dialog