Yes I did have that in my layout.
Let me give more background as to what I am trying to achieve:
I have a list of shares, positions, prices, and exposure in a table. I also have a "propose trade" column and next to that a link_to which loads a web page that allows the user to input a proposed buy/sell. When the user clicks "ok" the list of shares reloads and shows the effect for the proposed trade on the portfolio.
What I want to do is make this a bit more elegant. I want to convert the "propose trade" into a partial and when the user clicks on the link_to the partial appears on the top right of the web page above the share list table.
Alternatively, the "propose trade" can be pop-up, and then close when the user clicks OK - but I really dont want to go this route.