got basic time dialog working