[main] added chroot property for file/directory dialogs