Fixed the edit screen popping up and it now adds the item to the order on the database