create button to determine the state of the view (read, edit/delete, or add)
create button to determine the state of the view (read, edit/delete, or add)