added hash bookmarking functionality to modal links