bug fix for deleteitem confirmation modal