Avoid "Leave this page?" dialog in Firefox after adding a filter