minor refactoring...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
now open dialog will push the path to top of history...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>