move timer to dialog