Properly sending data to addPersonDialog