reg modal + validation

reg modal + validation