The location of the popup is controlled by the Custom HTML Prompt
and based on the mouse position:
<body data-kmwindow="MOUSEX()-50,MOUSEY()-50,200,150">
<script>
So you can change that a fixed position if you prefer or move it under the mouse or put it wherever you want it using those coordinates.