register deal button event handler on page load