Add buttons for view, edit, raw edit modes