JAVAFX imageview allow user to add tag
<p>I am making an image gallery using javafx, i wish to have the feature which allow the user to add some tag(for human faces) to the imageview when the user is onclick at the imageview, it should grab the position of the mouse pointed and prompt a dialog for user to enter the name for the face and save it to database. </p>

<p>Is this achievable by using javafx?</p>

<p>If yes, how should i do that? </p>

<p>Your help is appreciated.</p>

<h2>Sample output of my application below:</h2>

<p><img src="https://i.stack.imgur.com/GQeRs.png"></p>