Support saving the view mode.