get rid of some deprecation warnings

getPaths --> openPanel
prefer Dialog over QDialog

Signed-off-by:  <st9fan@gmail.com>