refactored dialog filter to constant string