I want to track the button clicks in my inputbox function. I want to perform one action when I press OK and I want to perform another when I press Cancel button. Is there any way to do it?