function to hide and show deleteboxes