Fixed issue with checking for same name in validator. Center dialogs on parents to make it look nicer