Explicitly dispatch insertEvent and deleteEvent on the main thread.