deletion confirmation, only submit if a chosen dropdown is not active, fix bug with deleting all copies of duplicate entries