created a modal form to show details for confirmation