Alert modal, Registration validation