In Scheduler event, if the eventTemplate has a table, the add event is triggered when editing an existing task, resulting that both popups open and close instantly.
Open this dojo example. Choose an event and click the span containing the text "I have some icons here".
The add event popup shows together with the edit event popup.
Only the edit event popup should be displayed.