code: func (d *FileSelectDialog) pathUp() {
  	dirUp := filepath.Dir(d.currPath)
  	if dirUp == d.currPath {
  		return
  	}
  	d.currPath = dirUp
  	d.populateFiles()
  	d.selectFirst()
  }
docs: // Goes up in the directory tree if it is possible