modals working, some validations