okButton click event handler