Enable/disable delete button based on presence of records/selection

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>
Enable new button in capabilities base on presence of types

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>