Access levels get added twice after a refresh

This is related to #429; when the page gets reloaded the form actually works. It just doesn't when someone navigates with a turbolink to the page. If someone refreshes the page and adds a ticket, the ticket is added twice (once because the submit button just works and once because of the onclick handler for the button). The solution here is to change `$(id).parent().find('button').on('click', function() {` to `$(id).parent().find('button').on('click', function(e) {` and add `e.preventDefault();` in the body of this handler.