Added fix for anything that uses hash based url router

If your using backbone / angular / ember etc... when you click the dismiss button the href="#" in the dismiss sends you to an unexpected route. This fixes that.