If you’re using the same pan that you cooked your onions in to cook your scallops, you may want to wash the pan before cooking the scallops. The butter that’s still left from the onions might start to smoke when the pan gets very hot. If the pan gets smoky, it won’t negatively effect the searing of your scallops, but it might set off your smoke detectors ;)