Added insert/edit phone functionality