The implementation is fairly easy. Here is the code snippet:
The command link is hidden and aligned after goLink in page source. The additional action logics is defined in the action listener of the command link.
Here is the demo to download. (JDeveloper 18.104.22.168 and need HR schema objects to run)