added some event handling for the save menu