Fixed most if not all dialog boxes that popped up when testing