title: Dialog Box like JOptionPane in JavaFX
body: <p>I found this article <a href="http://code.makery.ch/blog/javafx-2-dialogs/" rel="nofollow noreferrer">JavaFX 2 Dialogs</a> and I am using it. But this dialog accepts only Stage Object. Is there any option to display dialog box which will accept AnchorPane as its parent. That Is similar to JoptionPane where we can pass any object which are derived from Component for example JPanel, JTitlePane, etc. And the dialog box I am using it is bieng display on task bar of windows also (passing null as parent). I want show a message like this </p>
  
  <p><img src="https://i.stack.imgur.com/sd1vR.png" alt="enter image description here"></p>
  
  <p>Is it possible to display an AnchorPane to the top of the other AnchorPane or TableView like the attached picture which will be modal as well?</p>