improve FilePathEditor widget