Add Shadow DOM support and properly handle disabled targets (input and button)