add ok and cancel buttons