Updated project controller for modal.