Working on JavafX media playback implementation. Implementing open dialog in JavaFX