I am trying to create a new dialog in the sitefinity Editor similar to the LinkManagerDialog but the new dialog is going to be for Listing Events instead of Pages and when the user select an event, it will be added to the editor as a link. (same functionality as the LinkManagerDialog)
I already added a new tool item in the editor toolbox and wrote the necessary scripts to open the dialog that points to an aspx page which is EventManagerDialog.aspx.
Now, how can I develop the EventManagerDialog.aspx page to be similar to the "page from this site" section in LinkManagerDialog but now it should title events from this site and list the events in the listing area to be selected by the user.
Any guidenance would be highly appreciated.
I attached the image of the section that I want to include in EventManagerDialog.aspx