Added order redirection after closing