added fileChooser dialog for loading patches