added some functionality to the delete requirement btn