changed validations to modals and cleaned css and js