Added confirmation dialog when closing the editor when a filter is dirty and not saved