Add dirty checking in filter function editor.