Allow using the current page as 'data-redirect-url' for elements that make ajax calls