Anchor tag not working properly on embedded forms