Add common dialog to get path of a file or a directory