Close window to order