added confirm box for deleting.