Make delete button work in Firefox