How to create a button in planning mission

I am currently in a project, where I am using the mission planner simulator in order for my copter to perform specific tasks, and I need to add a button inside the mission planner to be able to place a specific gps point during a mission and if the drone happens on This, he can return to this point, save it in a database that he will configure and then continue with the stipulated mission. I thank you for all the cooperation you can give me to know if it is possible to do this action and how to do it.

Thanks
John Gomez

Moved to appropriate section