Changes for #75736, the tool now disables depending on wheter there is a selected layer or not.