added parameter to show mass delete button