confirmation when saving profile data added.
javascript validation added