simplify switching between view and edit modes, and between side rail contents. retain selected data when switching modes.