Fix database connection dialog on load.