You can try to add :target into link_to options (the last hash).
Or, I'd start some time ago to use ModalBox: http://www.wildbit.com/demos/modalbox/
to solve those kind of problems.
Keep up to date with Rails on Twitter and This Week in Rails
Policies: Conduct, License, Maintenance, Security, Trademarks