Fixed issue with using anchor instead of button for dialog buttons where Angular JS would assume you were requesting a route.