Saving data in popup and Updating forms

Created function to save data in Dictionary, Forms are cleared when they
go back to the form. Update function created to clear and replace
objects.