encapsuled handler for ok click on add person dialog
worked on persitence of persons, TODO only one person is written