adding checks to see whether the prediction instances have been confirmed or not before allowing users to edit/destroy them