factor common elements out of export classes
pass previewer to save plot as image dialog
more factoring out common functions from plot export
stub for viewer export to image
add viewer_export query param