[#3028] Deselect old events when a new one is added from media editor.