only delete layer is bbdelete button selected