Fixed the db modal script from nuking everything