added date dialog, person choose button and some handlers