Modify Edit Template
Adding the JS to auto fill a hidden input for record ID