Added a PORTABLE flag
Show download dialog if there's a selection on the treeview