Added inline JS for Edit Order button to go back to index.php. May need changing