added functionality to the "Create Order" button