implemented new event dialog
fixed wrong heritage