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 126.96.36.199 and need HR schema objects to run)