Added two prevent default to hopefully make embedded view a bit better.