Added complete functionality for view, with backend queries to get items and modal.