remove modal on delete