Move Save button to top, right corner
Fix ValueView persistence

Along with enabling line-drawing mode when clicking on a portView.