Fills up the event dialog based on API response.