Add option to save record from view popup

Fixes RM-2178