center the modal on the selected text