Changed order of ok and cancel to cancel|ok