added alert for saving profile