fix for event dialog