If you look at the shipping example called Menu Selection with Events, you'll see how the event structure can be used to handle a run-time menu. In your case, you could modify the example with a case called "Save" and inside the case have the File Dialog function.