Dishwasher control panel-how affix

,

I am to purchase a new control panel strip because it came undone at the left side , and while it seems to snap in, it does not hold because it is slightly bent. I will buy a new one- how is that attached- with some sort of adhesive, if so , what kind? After purchase, can I do it myself, or do I need to get an appliance repairman? Thanks