Prevent redirecting to '#' after modal closes. We don't want this in our single page app