T4668: Validate time input in event dialog

Authored by machniak on Fri, Feb 1, 4:00 PM.