Fix for the relative paths in the popups