updates to form popup and save parameters