HAL-321: properly clear and reset dialog state upon removal of resources