added more functionality to the Proposal-detail page