single-click is used to open event dialog