delete button enabled/disabled