added delete records checkbox to dialog fragment