Hi Aparna,
it seems you are talking about subvi's...
Those vi from "different people" should be set to "Open front panel when called" and "Close FP when finish" in their vi properties. The subvis should have a "back" button to close the frontpanel and to end all running loops to get back to the main vi (your GUI).
Now make an enum (or a ring, when you want to change the menu at runtime) with an entry for each subvi you want to call.
Make an event structure with an event "value change" for this enum. Wire the enum to a case structure, put the subvis in their specific case.
Best regards,
GerdW

using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019