was wondering if anyone could help, im using the guts of a old dell optimax pc for a bartop build but ive come up to a stand still with it, as i cant figure out how to fashion a power button to this,,

ive tried using a power button lead with connectors from another pc,and connected to the pins the dell button goes to on the motherboard but can only get it to reset and not stay on or off.