Modified PathDialog