add ok and cancel button.