Fix changes OK button to confirm.

Fix changes OK Button to confirm when Cancel button is shown if there is no label given in constructor.