Toggle between edit/render view modes via button