added ok/cancel examples