Added functionality to Open button on FileChooser