added time measure to dialog