Disable dialog when database is saved or loaded.