Add edit button to record summary

Add edit button to record summary

Hello, I have taken a look at these 2 posts

https://help.zoho.com/portal/en/community/topic/how-do-i-create-a-link-to-a-pop-up-edit-window-in-an-html-view

https://help.zoho.com/portal/en/community/topic/tip-using-duluge-create-url-field-with-dynamic-parameters-such-as-record-id

But none of these posts solved my problem. When I click on a linked record from a record summary, I want to be able to edit that record in a popup view within the application. I've gotten this far
  1. temp_param = input.ID.toString();

  2. input.Edit_Event = "<a href='https://creator.zoho.com" + zoho.appuri + "ADD/record-edit/Add_New_Event_Report/" + temp_param + "&zc_LoadIn=dialog " + "/'>Edit</a>";

But this pops up a new window. Is there a way I can add a custom action or a URL link that will create a popup of the form in edit mode? I also have the work around of creating a custom function that will lead to a report of that specific record, then click the edit button. But this is inconvenient.